Skip to content

SMTP Providers

SendGrail includes pre-configured templates for 17 popular SMTP providers plus a custom SMTP option. When you select a provider, the host, port, and encryption fields are automatically filled in. You only need to supply your credentials.

Provider Reference

Gmail

SettingValue
Hostsmtp.gmail.com
Port587
EncryptionTLS
UsernameYour full Gmail address
PasswordApp Password

WARNING

Gmail requires an App Password if two-factor authentication is enabled (which it should be). Generate one at myaccount.google.com/apppasswords. Your regular Google password will not work.

Gmail has a sending limit of 500 emails per day for personal accounts and 2,000 per day for Google Workspace accounts.


Outlook / Microsoft 365

OAuth 2.0 only — Microsoft has phased out Basic Auth for SMTP across Microsoft 365. Setup uses an Azure AD app registration; see the Outlook / Microsoft 365 setup guide for the full flow.

SettingValue
AuthOAuth 2.0 (Microsoft Graph API)
RequiredAzure AD app + Mail.Send permission

SendGrid

SettingValue
Hostsmtp.sendgrid.net
Port587
EncryptionTLS
Usernameapikey (literal string)
PasswordYour SendGrid API key

The username is always the literal text apikey -- do not enter your email address. Generate an API key from Settings > API Keys in the SendGrid dashboard. The key must have Mail Send permissions.


Mailgun

SettingValue
Hostsmtp.mailgun.org
Port587
EncryptionTLS
UsernameSMTP username from Mailgun domain settings
PasswordSMTP password from Mailgun domain settings

Find your SMTP credentials in the Mailgun dashboard under Sending > Domain settings > SMTP credentials. The username is typically in the format postmaster@your-domain.com. Do not use your Mailgun account password.


Amazon SES

SettingValue
Hostemail-smtp.{region}.amazonaws.com
Port587
EncryptionTLS
UsernameSES SMTP username (from IAM credentials)
PasswordSES SMTP password (from IAM credentials)

TIP

Replace {region} with your AWS region (e.g., us-east-1, eu-west-1). The host field is editable so you can specify the correct regional endpoint.

SES SMTP credentials are not the same as your AWS access keys. Generate them from the Amazon SES console > SMTP settings > Create SMTP credentials. Make sure your sending domain and email addresses are verified in SES.


Postmark

SettingValue
Hostsmtp.postmarkapp.com
Port587
EncryptionTLS
UsernameYour Server API Token
PasswordYour Server API Token

Postmark uses the same Server API Token for both the username and password fields. Find it in your Postmark server under Settings > API Tokens.


Mandrill (Mailchimp Transactional)

SettingValue
Hostsmtp.mandrillapp.com
Port587
EncryptionTLS
UsernameYour Mailchimp email
PasswordYour Mandrill API key

INFO

Mandrill is a paid add-on to Mailchimp. You must have an active Mailchimp account with the Transactional Email (Mandrill) add-on enabled. Generate an API key from the Mandrill dashboard under Settings > SMTP & API Info.


Elastic Email

SettingValue
Hostsmtp.elasticemail.com
Port2525
EncryptionTLS
UsernameYour Elastic Email address
PasswordYour SMTP password

Generate SMTP credentials from Settings > SMTP in the Elastic Email dashboard. Note the non-standard port 2525.


SMTP2GO

SettingValue
Hostmail.smtp2go.com
Port2525
EncryptionTLS
UsernameYour SMTP2GO username
PasswordYour SMTP2GO password

Create SMTP credentials from the SMTP2GO dashboard under Settings > SMTP Users. Port 2525 is used by default to avoid ISP blocking of standard ports.


Brevo (formerly Sendinblue)

SettingValue
Hostsmtp-relay.brevo.com
Port587
EncryptionTLS
UsernameYour Brevo account email
PasswordYour SMTP key

Find your SMTP key in the Brevo dashboard under Settings > SMTP & API > SMTP. This is not your account password -- it is a separate SMTP-specific key.


Netcore

SettingValue
Hostsmtp.netcorecloud.net
Port587
EncryptionTLS
UsernameYour Netcore SMTP username
PasswordYour Netcore SMTP password

Find your SMTP credentials in the Netcore dashboard under Email API > SMTP settings.


SparkPost

SettingValue
Hostsmtp.sparkpostmail.com
Port587
EncryptionTLS
UsernameSMTP_Injection (literal string)
PasswordYour SparkPost API key

The username is always the literal text SMTP_Injection. Generate an API key from the SparkPost dashboard under Account > API Keys with Send via SMTP permission enabled.


SendLayer

SettingValue
Hostsmtp.sendlayer.net
Port587
EncryptionTLS
UsernameYour SendLayer SMTP username
PasswordYour SendLayer SMTP password

Find your SMTP credentials in the SendLayer dashboard under the SMTP credentials section after adding and verifying your domain.


Mailjet

SettingValue
Hostin-v3.mailjet.com
Port587
EncryptionTLS
UsernameYour Mailjet API key
PasswordYour Mailjet Secret key

Mailjet uses your API key as the username and the paired Secret key as the password. Find both in the Mailjet dashboard under Account Settings > API Keys.


Custom SMTP

SettingValue
HostYour SMTP server hostname
PortYour SMTP server port
EncryptionNone, SSL, or TLS
UsernameYour SMTP username
PasswordYour SMTP password

Use the Custom SMTP option to connect to any SMTP server not listed above. All fields are fully editable. Common port and encryption combinations:

PortEncryptionNotes
25NoneUnencrypted, often blocked
465SSLImplicit TLS (legacy)
587TLSSTARTTLS, recommended
2525TLSAlternative to avoid blocks

Quick Reference

ProviderHostPortEncryption
Gmailsmtp.gmail.com587TLS
Outlook / Microsoft 365OAuth 2.0 (Microsoft Graph API)
SendGridsmtp.sendgrid.net587TLS
Mailgunsmtp.mailgun.org587TLS
Amazon SESemail-smtp.{region}.amazonaws.com587TLS
Postmarksmtp.postmarkapp.com587TLS
Mandrillsmtp.mandrillapp.com587TLS
Elastic Emailsmtp.elasticemail.com2525TLS
SMTP2GOmail.smtp2go.com2525TLS
Brevosmtp-relay.brevo.com587TLS
Netcoresmtp.netcorecloud.net587TLS
SparkPostsmtp.sparkpostmail.com587TLS
SendLayersmtp.sendlayer.net587TLS
Mailjetin-v3.mailjet.com587TLS