Create the integration
1
Add the Custom SMTP provider
Open the Integrations page, select Add a provider, then select Custom SMTP.2
Fill in the server and the sender
Host, Port, From email address, and Sender name are required. Set User and Password when the server requires authentication. Pick the TLS toggles for your port as described in TLS settings.3
Activate the integration
Switch the integration from Disabled to Active, then select Update.Configuration fields
Novu authenticates only when both User and Password have a value. Novu waits 10 seconds to open the TCP connection and 10 seconds on the socket after that.
TLS settings
Secure selects the connection mode, and the other TLS controls depend on it.
With Secure on, the connection is encrypted before the first SMTP command. With Secure off, Novu opens a plain connection and upgrades with STARTTLS when the server advertises it. Require TLS fails the send if that upgrade does not happen. Ignore TLS skips the upgrade, and it wins if both toggles are on.
TLS options is a text area. Paste one JSON object into it. Novu rejects a string, an array, or invalid JSON, and ignores the field while Secure is off.
ca to that authority’s PEM certificate. ca replaces the default public authorities for this connection, so the server certificate must chain to the authority you supply. Keep line breaks in the PEM as \n inside the JSON string.
{"rejectUnauthorized":false} turns them off, so a host on the connection path can impersonate the mail server and receive the SMTP credentials.
Novu checks the server certificate against Host. A servername key in TLS options is replaced with Host. If a send fails with Host: ... is not in the cert's altnames: DNS:..., set Host to one of the DNS: names in that error or to a name covered by a listed wildcard. An internal alias, a different domain, or an IP address fails this check even when it reaches the same server. Enter Host without the trailing dot Node prints in the error.
DKIM
Novu signs the message only when all three DKIM fields are set. Publish the matching public key at{selector}._domainkey.{domain}. For domain example.com and selector novu, that name is novu._domainkey.example.com.
Troubleshooting
Next steps
Configure bcc, cc, and reply-to
Learn how to configure bcc, cc, and reply-to for your email notifications using email overrides
Sending email attachments
Learn how to send attachments with email notifications
Use different email integration
Learn how to use different email provider integrations to be used to send emails