Skip to content

smtp config

Diego Ramos edited this page Feb 21, 2023 · 3 revisions

Mail notifications

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
SMTP_CREDENTIAL_USER=user@company.com
SMTP_CREDENTIAL_PASSWORD=*****
SMTP_SECURE=true
SMTP_TLS_CIPHERS=SSLv3
SMTP_DEFAULT_RECIPIENT=aaa@mail.com,bbb@mail.com

Variables

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

Example

This is an example of how the receiver receives an error notification.

image

The values that contain **** are because they have been declared as sensitive variables on RAW_SENSIBLE_PARAMS.

Eventhos

Configurations

Deployment

Usage

Endpoints

Send event

Oauth2

For UI

  • get all events
    • GET /event
  • create events
    • POST /event
  • update events
    • PUT /event
  • delete event
    • DELETE /event
  • get all received events
  • get details of received event
    • GET /event/received/:id
  • get details of executed contracts
    • GET /received/execution-detail/:id
  • create system

Queue Manager

Mail notifications

Ports

Contributions

CDN

Clone this wiki locally