Use these exact values when configuring any email client or application to send through SendGrid servers.
| Parameter | Value |
|---|---|
| SMTP Host | smtp.sendgrid.net |
| SMTP Port | 587 (TLS) or 465 (SSL) |
| Encryption | STARTTLS on port 587, SSL on port 465 |
| Username | apikey (the literal string "apikey") |
| Password | Your SendGrid API Key (SG.xxxxx...) |
Note: SendGrid uses API Keys for authentication, not your account password. The username is always the literal string apikey. Generate API Keys in your SendGrid dashboard under Settings > API Keys.
Follow these steps in order to configure SMTP access for SendGrid.
Log in to your SendGrid dashboard and navigate to Settings > API Keys. Create a new API Key with "Full Access" or "Restricted Access" including Mail Send permissions.
Before sending, verify a sender identity (Sender Authentication) in SendGrid. This involves verifying a From email address or domain to meet SendGrid's sender requirements.
Enter smtp.sendgrid.net as the SMTP host, port 587 with TLS, the username apikey, and your full API Key (starting with SG.) as the password.
Send an email to yourself and an external address to confirm delivery. Check your SendGrid dashboard for delivery status and any bounce events.
Most SendGrid SMTP issues fall into a handful of categories. Here's how to fix them quickly.
Using your account password instead of an API Key is the most common cause. The username must be the literal string "apikey" and the password must be the full API Key starting with "SG."
SendGrid requires sender identity verification before sending. Either verify a Single Sender Address or complete Domain Authentication in your SendGrid dashboard.
Port 587 may be blocked by your network. Try port 465 with SSL encryption as an alternative. Corporate firewalls commonly block direct SMTP on port 587.
SendGrid may suspend accounts for policy violations or high bounce rates. Check your SendGrid dashboard for suspension notices and follow their remediation process to restore sending.
Keep your account secure and your messages deliverable with these recommended approaches.
Instead of Full Access API Keys, create Restricted Access keys with only the Mail Send permission. This limits the blast radius if a key is compromised.
Authenticate your sending domain in SendGrid to improve deliverability and enable DKIM signing. This verifies to receivers that your emails are legitimately from your domain.
Configure Event Webhook to receive bounce, spam, and unsubscribe events in real time. This allows your system to stop sending to invalid addresses promptly.
Track your SendGrid sender score and email metrics. High bounce rates and spam complaints damage your sender reputation and can lead to throttling or account suspension.
SendGrid is a professional email service provider, but its SMTP relay can become expensive at high volume and lacks advanced routing features. If you're hitting SendGrid's rate limits, paying per-email fees that add up, or need more granular control over routing, a dedicated SMTP relay service with predictable pricing may be more cost-effective.
For teams needing deeper analytics, custom DKIM signing across multiple domains, and intelligent routing rules, an email API platform provides more control. Learn more about email deliverability and how to protect your sender reputation at scale.
SendGrid's limits depend on your plan. Free accounts can send 100 emails/day. Paid plans range from 40,000 to millions per month. There are also rate limits of 1,000 emails/second on Pro plans and above.
Yes. Complete Domain Authentication in SendGrid to verify your custom domain. Once verified, you can send from any address within that domain using your SendGrid SMTP credentials.
SendGrid requires sender verification to prevent abuse and improve deliverability. Unverified senders can be suspended or have their sending privileges revoked. Complete Single Sender verification for testing or Domain Authentication for production.
Verify your API Key is correct and includes Mail Send permissions. Confirm your sender identity is verified. Check your SendGrid dashboard for account suspension notices. Try switching from port 587 to port 465.
Yes, SendGrid is well-suited for transactional email. It offers webhook event notifications, detailed analytics, and high deliverability when properly authenticated. However, costs can scale with volume compared to dedicated transactional email services.
Start free with no card, or talk to sales for high-volume and enterprise.
Start SendingTalk to Sales