Here are the correct settings you should use to connect Gmail to Office365.com

January 27, 2020 1 comments
default placeholder

Here are the correct settings you should use to connect Gmail to Office365.com

» Email sending

To send emails using Office365 server enter these details:

SMTP Host: smtp.office365.com
SMTP Port: 587
SSL Protocol: OFF
TLS Protocol: ON
SMTP Username: (your Office365 username)
SMTP Password: (your Office365 password)

Also make sure that your:

  1. “From” email in onesourcode settings (General tab) is set to your Office365 email address
  2. “From” name in onesourcode settings (General tab) is NOT set to an email address – Microsoft security policies will reject sending emails if the From name is an email address

 

» POP3 fetching

To fetch mail from Office365 server enter these details:

POP3 Host: outlook.office365.com
POP3 Port: 995
TLS Protocol: ON
POP3 Username: (your Office365 username)
POP3 Password: (your Office365 password)

 

» IMAP fetching

To fetch mail from Office365 server using IMAP protocol instead, enter these details:

IMAP Host: outlook.office365.com
IMAP Port: 993
Encryption: SSL
IMAP Username: (your Office365 username)
IMAP Password: (your Office365 password)

 

» Error messages

Connection timed out
Could not connect to…
Testing connection, this can take a while…

This usually means required ports are blocked on your server in the firewall.

Contact your hosting company to verify and ask them to unblock required ports (587, 995 and/or 993) to allow TCP connections.
Password error: Logon failure: unknown user name or bad password.
Too many login failures

Office365 doesn’t recognize your username or your password is incorrect. Double-check both the username and password. Passwords are CaSe SeNSiTiVe.

Ashok kuikel

Ashok Kuikel is DevOps Engineer(Cloud Computing and Cyber Security), Entrepreneur working on Socio-Economic Development via Technology

He has been actively contributing as Joint Secretary of Federation of Computer Association of Nepal Kavre Chapter. Beside that, he is an official Global Peace Ambassador for Global Peace Chain, Nepal Chapter and Member of Internet Society, Nepal Chapter.

Above all, he enjoys learning about new trends and technologies and loves to share innovative ideas to contribute for the growth of the industry.

You can follow me on Social Media, GitHub, and via my Blog Channels.

One response to “Here are the correct settings you should use to connect Gmail to Office365.com”

  1. Like!! I blog quite often and I genuinely thank you for your information. The article has truly peaked my interest.

Leave a Reply

Articles and Tutorials

We love writing about WordPress and latest plugins tutorials, WooCommerce stats, and much more.