Skip to main content

SMTP

Send reports through your own SMTP server, with plain, STARTTLS or SSL connections.

The SMTP delivery interface: sender, host, connection security, port and the client certificate fields

Configuration​

FieldDescriptionRequired
NameThe name of the interface in AnaphoraYes
UsernameSMTP login, when the server needs oneNo
PasswordSMTP passwordNo
Sender emailThe From addressYes
Sender nameThe From nameYes
HostSMTP server hostnameYes
Connection securityPlain, STARTTLS or SSL. Choosing one also sets the usual port.Yes
PortSMTP port (25, 587, 465)Yes
Reject unauthorizedRefuse a server certificate that does not verify. On by default.No
Cert, Private key, PassphraseA client certificate in PEM, for servers that ask for one (SSL only)No

Common configurations​

Gmail​

Host: smtp.gmail.com
Port: 587
Connection security: STARTTLS
note

Gmail requires an App Password if 2FA is enabled.

Office 365​

Host: smtp.office365.com
Port: 587
Connection security: STARTTLS

Amazon SES​

Host: email-smtp.us-east-1.amazonaws.com
Port: 587
Connection security: STARTTLS

Testing​

  1. Fill in the interface.
  2. Click Test.
  3. Enter the Test email address. The subject and the body are optional.
  4. Click Send test email, and make sure that the email arrives.

Sending behavior​

Anaphora sends the emails of a run one at a time, over one connection. So a server that allows few connections accepts every recipient. Every SMTP timeout is at most one minute. After a server failure, Anaphora marks the other recipients as failed at once.

Troubleshooting​

IssueSolution
Connection refusedCheck firewall, verify port
Authentication failedVerify credentials, check app passwords
TLS errorTry another connection security mode