Email API · SMTP settings
SendGrid SMTP settings
The SendGrid SMTP server is smtp.sendgrid.net on port 587 (STARTTLS), 465 (SSL) or 2525. The username is the literal word apikey and the password is a SendGrid API key with Mail Send access.
Last reviewed November 2026
| SMTP server | smtp.sendgrid.net |
|---|---|
| Port (recommended) | 587 (STARTTLS) |
| Port | 465 (SSL/TLS) |
| Port | 2525 (STARTTLS (alternate)) |
| Port | 25 (STARTTLS) |
| Username | apikey (literally the word apikey) |
| Password | A SendGrid API key with Mail Send permission |
| Authentication | Required |
Common mistakes
- Username: it is the word
apikey, not your SendGrid login or email. - Key permissions: the key needs at least Mail Send access.
- Sender verification: SendGrid only sends from a verified sender or an authenticated domain.
Moving off SendGrid
If you're looking for a SendGrid alternative, most apps only need new SMTP credentials. With Stack Emails you change the host to smtp.stackemails.com, the username to stackemails and the password to an API key. See our SendGrid alternatives page and the Stack Emails vs SendGrid comparison.
Check your domain's email records
If you send from your own domain, receiving servers check SPF, DKIM and DMARC. Use our free SPF checker, DKIM checker and DMARC checker to confirm they pass.
Settings checked against SendGrid's public help pages. Providers change authentication rules from time to time, so confirm in their documentation if something doesn't work.