SMTP options
The JSON options of the SMTP configuration field of a profile.
SMTP configuration in a profile holds the connection options of the SMTP server as JSON. Hostname holds the server name.
Common options
| Option | Meaning | Default |
|---|---|---|
port | The port of the SMTP server. | 25 |
user | The user name to sign in to the SMTP server. | none |
password | The password for user. | none |
Example
A server on port 587 with a user name and password:
{
"port": 587,
"user": "noreply@example.com",
"password": "your-smtp-password"
}An empty object {} connects to port 25 without signing in.
Check the options
Click Test in the profile form after every change. See Test emails.
More options
The SMTP sender of OpenMail is the one of the Total.js framework. The Documentation link under the field opens the list of all its options, for example for encrypted connections.
Good to know
- The field must contain valid JSON: keys and text in double quotes, no comma after the last option.
- The password is stored in plain text in
databases/memorize_data.jsonand in exported profiles. Use an SMTP account that only sends email.