The settings an email app or sending tool needs for the two providers behind most business email. Pick your provider for the full guide, sign-in steps and fixes for common errors.
SMTP and IMAP settings at a glance
| Provider | SMTP (sending) | IMAP (reading) | POP3 |
|---|---|---|---|
| Gmail and Google Workspace | smtp.gmail.com · 587 STARTTLS or 465 SSL | imap.gmail.com · 993 SSL | pop.gmail.com · 995 SSL |
| Microsoft 365 (Office 365) | smtp.office365.com · 587 STARTTLS | outlook.office365.com · 993 SSL | outlook.office365.com · 995 SSL |
| Outlook.com and Hotmail | smtp-mail.outlook.com · 587 STARTTLS | outlook.office365.com · 993 SSL | outlook.office365.com · 995 SSL |
Guides
- Microsoft 365 (Office 365) SMTP and IMAP Settings: smtp.office365.com, SMTP AUTH and the 2026 change
- Gmail and Google Workspace SMTP and IMAP Settings: smtp.gmail.com, app passwords and OAuth
- SMTP and IMAP Ports Explained: 25, 465, 587 and 993: 25, 465, 587, 993 and which to use
- What Is SMTP? How Email Is Sent, and SMTP vs IMAP vs POP3: How email is sent, and SMTP vs IMAP vs POP3
A password alone is no longer enough
Setting up inboxes for cold email? Settings are only half of it: the domain also needs SPF, DKIM and DMARC. See our SPF, DKIM and DMARC setup guide.
Frequently asked questions
What are the SMTP settings for Gmail?
smtp.gmail.com, port 587 with TLS or 465 with SSL, signed in with Google (OAuth) or an app password.
What are the SMTP settings for Office 365?
smtp.office365.com, port 587 with STARTTLS, with the full email address as the username and SMTP AUTH turned on for the mailbox.
Which port should I use for SMTP?
587 with STARTTLS, or 465 with SSL/TLS where the provider supports it. Port 25 is for servers delivering to each other.