Technical2026-04-10· 6 min read
How to Set Up SMTP for Cold Email: Gmail, Outlook, Zoho & More
Step-by-step guide to configuring SMTP for cold email on Gmail, Google Workspace, Outlook, Microsoft 365, and Zoho.
Setting up SMTP correctly is the foundation of successful cold email. Here's how to configure each major provider.
Gmail / Google Workspace
- Go to your Google Account > Security > 2-Step Verification (enable it if not already)
- Go to Security > App passwords
- Select "Mail" and your device, then click "Generate"
- Copy the 16-character password (spaces don't matter)
- Host: smtp.gmail.com
- Port: 587 (TLS) or 465 (SSL)
- Username: your full email address
- Password: the app password you generated
- Host: imap.gmail.com
- Port: 993
- Use SSL: Yes
- Go to Microsoft 365 admin > Users > Active users
- Select the user > Mail > Manage email apps
- Enable "Authenticated SMTP"
- Consider disabling Security Defaults for SMTP access
- Host: smtp.office365.com
- Port: 587 (TLS)
- Username: full email address
- Password: account password
- Host: outlook.office365.com
- Port: 993
- Use SSL: Yes
- Go to Zoho Mail > Settings > Mail Accounts
- Enable IMAP and SMTP access
- Generate an app-specific password under Security settings
- Host: smtp.zoho.com
- Port: 587 (TLS) or 465 (SSL)
- Username: full email address
- Password: app-specific password
- Host: imap.zoho.com
- Port: 993
- **SPF Record** — authorizes your email provider to send on your behalf
- **DKIM Record** — cryptographically signs your emails
- **DMARC Record** — tells receiving servers how to handle unauthenticated email
SMTP Settings:
IMAP Settings (for reply tracking):
Daily limit: 500 emails/day for Google Workspace, 100/day for free Gmail.
Outlook / Microsoft 365
SMTP Settings:
IMAP Settings:
Daily limit: 10,000 emails/day (enterprise), 1,000/day (business basic).
Zoho Mail
SMTP Settings:
IMAP Settings:
IMPORTANT: DNS Configuration
Before sending, configure these DNS records for your domain:
Without these, your emails will land in spam regardless of content quality.
Ready to send better cold emails?
Try XSendFlow free →