Skip to main content

Sending via SMTP

Along with the HTTP Email API, you can also send mail via SMTP. This guide walks through sending your first email using the MailChannels SMTP API.

Prerequisites

1

Generate an SMTP Password

Open Account > SMTP Passwords and click Create SMTP Credentials.
Treat your SMTP password like a password. Don’t commit it to source control or expose it in client-side code.
2

Update your DNS records

Add MailChannels to the SPF record on each sending domain so recipient servers accept your mail. See the SPF page for more details.Domain Lockdown is required for SMTP sending as well.
3

Configure your MTA

Configure your MTA to relay through smtp.mailchannels.net on port 587 with TLS. Use your MailChannels account ID as the username and the SMTP password you created as the password.
The following guides walk through configuring popular MTAs to relay through MailChannels.

SMTP vs Email API

MailChannels does not DKIM sign messages sent via SMTP. However, DKIM signatures on mail sent via SMTP will not be broken. Messages sent via SMTP do not produce webhooks.