Configuring email provider with basic SMTP authentication
These configurations can be used with a large number of email providers which support basic SMTP authentication.
The configuration is done in the config.properties
file.
Configuration Key | Description |
---|---|
mail.auth.protocol | Set to basic to use basic SMTP authentication. |
mail.server.host | The hostname of the SMTP server. |
mail.server.port | The port of the SMTP server. |
mail.server.user | The username to use for authentication. |
mail.server.password | The password to use for authentication. |
mail.server.starttls.enable | Whether to use STARTTLS to secure the SMTP connection. |
mail.option.sender | The email address to use as the sender of the emails. The provider may impose restrictions on the sender address. |
INFO
See the Common parameters section for more information on the other parameters.