Skip to content
DFY Inbox Setup

SMTP and IMAP Settings for Gmail, Microsoft 365 and Outlook

Every server name and port for Gmail, Google Workspace, Microsoft 365 and Outlook.com in one table, plus guides to sign-in, ports and connecting cold email tools.

Photo of Farhan MujahidBy Farhan MujahidFounder and CEO, DFY Inbox Setup

Updated · 3 min read

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

ProviderSMTP (sending)IMAP (reading)POP3
Gmail and Google Workspacesmtp.gmail.com · 587 STARTTLS or 465 SSLimap.gmail.com · 993 SSLpop.gmail.com · 995 SSL
Microsoft 365 (Office 365)smtp.office365.com · 587 STARTTLSoutlook.office365.com · 993 SSLoutlook.office365.com · 995 SSL
Outlook.com and Hotmailsmtp-mail.outlook.com · 587 STARTTLSoutlook.office365.com · 993 SSLoutlook.office365.com · 995 SSL
Use the full email address as the username for every provider

Guides

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.

Your next campaign could be sending by the end of the week.

Create a free account, build your order in a few minutes and request a quote. You only pay when you are happy with it.