Page History
...
The SET keyword must be used before the OPEN keyword.
Syntax:
Command | Keyword | Value | Developer notes |
|---|---|---|---|
SET | SERVER | host | Conditional. Remote host. |
PORT | integer | SMTP server port. | |
SECURE | *NO | Default. No secure connection. | |
*YES | Use implicit connection. | ||
*IMPLICIT | Connects to port 993 using SSL. | ||
*EXPLICIT | Connects to port 143 and upgrades to a TLS session using STARTTLS. | ||
AUTH | *XOAUTH2 | Token-based authentication. | |
*PASSWORD | Use legacy password authentication. | ||
USER | value | The user profile used to |
log in to the SMTP server. The user name may be case sensitive depending on the SMTP server. | ||
PASSWORD | value | This is the password used to |
log in to the SMTP server. The password may be case sensitive depending on the SMTP server. | ||
CLIENT.ID | Value | The client_id is a public identifier for apps. Even though it’s public, it is best that it is not guessable by third parties, so many implementations use something like a 32-character hex string. |
CLIENT.SECRET | Value | The client_secret is a secret known only to the application and the authorization server. It is essential the application’s own password. It must be sufficiently random not to |
be guessable, which means you should avoid using common UUID libraries which often take into account the timestamp or MAC address of the server generating it. |
secure library to generate a 256-bit value and then convert it to a hexadecimal representation. | ||
AUTH.TOKEN.ENDPOINT | Value | Token endpoint is used by the application in order to get an access token or a refresh token. It is used by all flows except for the Implicit Flow because in that case an access token is issued directly. |
AUTH.SCOPE | Value | Scope is a way to limit an app’s access to a user’s data. Rather than granting complete access to a user’s account, it is often useful to give apps a way to request a more limited scope of what they are allowed to do on behalf of a user. |
TOKEN.CACHE | Value | This is a boolean parameter to save the token at the mentioned directory. It can have two values- true or false. |
TOKEN.CACHE.DIR | Value | It is a directory where the user wants to save the token while caching. |
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. |
|
|
component, and the password component |
is used to read the private key. |