IMAP and SMTP Settings for Gmail on Exchange

kojak

TL;DR: Wanna get your Gmail in Outlook? Here’s how:
(1) Enable IMAP in Gmail.
(2) Incoming server is imap.gmail.com, port 993. Enable SSL.
(3) Outgoing server is smtp.gmail.com, port 465. Enable SSL.
Or read the rest of this post…

Because I’m sick of looking up this information (specifically the ports) I decided to create this quick blog post to walk us through setting up Outlook to work with Gmail.

POP vs. IMAP

You can read about the difference between POP and IMAP. But all you really need to know is that if you choose POP, all your email is downloaded on to your machine. Whereas if you use IMAP, your email is sync’d between your device and server. So I’m just going to come right out and tell you… use IMAP.

Enble IMAP

Much like your alcoholic uncle, IMAP needs to be enabled before it will work.

  1. In Gmail, click on the little settings icon. It looks like this: settings
  2. In the drop-down menu, select Settings.
  3. Click on Forwarding and POP/IMAP.
  4. Next to the heading IMAP Access click on the radio button next to Enable IMAP.
  5. Click on [Save Changes]

Set up Outlook

Now let’s fire up that steaming pile of spaghetti logic called Microsoft Outlook and create your account.

  1. Open Outlook.
  2. If this is a fresh install, the create profile wizard will begin. If not you’ll need to click on [File] and then click on Account Settings>Account Settings…. This box will appear:

    Account Settings dialog box

    My email address has been obfuscated to protect my precious, precious privacy. It’s not you; it’s me.

  3. Click on New…. Yet another dialog box will open.
    Yes, it's the Add Account box!

    Yes, it’s the Add Account box!

  4. Make sure the first option, E-Mail Account, is selected and then click on [Next>].
  5. In the box that appears select Manual setup or additional server types. Then click [Next>]
  6. In this box select POP or IMAP. And click [Next>]
  7. The POP and IMAP Account Settings box will magically appear.
  8. Fill out the user information as follows:
    Your Name – What you want people to see when they receive an email from you. Usually your name. But it could be anything.
    Email Address – Your full email address.
    Account Type – Change this to read IMAP.
    Incoming mail server – This should read imap.gmail.com
    Outgoing mail server – Set this to smtp.gmail.com
    User Name – This should be your full email address again.
    Password – Your email account password.
    Account Info

    Who loves ya baby!?!

  9. Once you’ve completed these fields, you’re not done! You need to select [More Settings…] because… well, there are more settings you need to enter.
  10. The Internet E-mail Settings dialog will appear. And it looks like this…
    Internet E-Mail Settings
  11. Click on the [Outgoing Server] tab.
  12. On the [Outgoing Server] tab, click the checkbox next to My outgoing server (SMTP) requires authentication.
    Internet E-mail Settings
  13. Now click on the [Advanced] tab.
  14. On the [Advanced] tab, enter the following information:
    Incoming server (IMAP) – 993
    Use the following type of encrypted connection – SSL
    Outgoing server (SMTP) – 465
    Use the following type of encrypted connection – SSL
    WAIT! If you entered the port number (465) before changing the encryption to SSL, then the port has probably (and infuriatingly) changed back to 25. This is a known bug but I’m pretty sure Microsoft leaves it in to drive us crazy. So before you click on OK, look over the settings and make sure everything looks like this:
    That outgoing server setting is still 465, right?
    OK, now you can click on [OK].
  15. That dialog box will close bringing you back to the main POP and IMAP Account Settings dialog.
  16. Click on [Next>] and Outlook will send you a test email. If it fails you’ll see a dialog that looks like this:
    Whoopsie. Something's wrong.

    Whoopsie. Something’s wrong.


    But if it works you’ll receive the test email.
  17. Finally, close all dialog boxes at wait for your mailbox to fill up with all kinds of goodies from advertisers around the world.

Alright. That’s it! If it gives you any problems, contact me. If you notice any errors or omissions, please leave a comment. Thanks!