5.23.3 OPEN
The OPEN command will login into the POP3 server and read any email messages stored for that user.
If the server, user and password are not defined in the service's properties file they must be provided in the OPEN command.
Internally a folder object is created to hold these messages. The GET and DELETE commands work against this internal folder object.
Syntax:
Command |
Keyword |
Value |
Developer notes |
OPEN |
SERVER |
host |
The server address for the POP3 server. |
PORT |
integer |
POP3 server port. |
|
SECURE |
*NO |
Default. No secure connection. |
|
*YES |
Use implicit connection. |
||
*IMPLICIT |
Connects to port 995 using SSL. |
||
*EXPLICIT |
Connects to port 110 and upgrades to a TLS session. |
||
USER |
value |
The POP3 mail user's login identification. It is usually supplied in the POP3MailService properties file but, if not, it must be provided here. |
|
PASSWORD |
value |
The password corresponding to the POP3 User provided as the USER keyword. It is usually supplied in the POP3MailService properties file but, if not, it must be provided here. |
|
AUTH |
*APOP |
User and hashed password authentication. |
|
*PASSWORD |
Default. User and password authentication. |
||
KEYSTORE |
name:password |
Read keystore file. |
|
RECIPIENT |
name:password |
This keyword is required to decrypt secure messages that have been encrypted with the recipient's public key. The recipient value is comprised of two parts, the name and password in the format name:password. These values are used to access the private key and certificate in the keystore. Refer to the KEYSTORE keyword. The private key and certificate are stored in a keystore file using a label. The label is the name component and the password component are used to read the private key. |
Example
OPEN USER(user) PASSWORD(password)