smtp config - usil/eventhos-api GitHub Wiki
On any error, eventhos will notify by mail to the contract mail recipients or SMTP_DEFAULT_RECIPIENT
SMTP_HOST=smtp.host.com
SMTP_PORT=587
[email protected]
SMTP_CREDENTIAL_PASSWORD=*****
SMTP_SECURE=true
SMTP_TLS_CIPHERS=SSLv3
[email protected],[email protected]
Variable | Description | Default Value |
---|---|---|
SMTP_HOST | Sender identifier | |
SMTP_PORT | Communication endpoint that defines the routing of email transactions | |
SMTP_CREDENTIAL_USER | User of your mail server | |
SMTP_CREDENTIAL_PASSWORD | Password of your mail server | |
SMTP_SMTP_ENABLE_SSl | Encrypt. If your host is for gmail, your value should be true. If your host is for office 365, your value should be false |
true |
SMTP_TLS_CIPHERS | Are algorithms that help secure network connections that use Transport Layer Security | SSLv3 |
SMTP_DEFAULT_RECIPIENT | Default recipients if there aren't recipients in a contract or if there are error before event's send | |
SMTP_FROM_ALIAS | Should be able equal to the value of SMTP_CREDENTIAL_USER | |
RAW_SENSIBLE_PARAMS | Names of the keys that have sensitive values sent when executing an event. The values of the keys sent here will be hidden. Example: event-key, access-key, newkey |
This is an example of how the receiver receives an error notification.
The values that contain **** are because they have been declared as sensitive variables on RAW_SENSIBLE_PARAMS.