Hotmail: IMAP, POP3, and SMTP settings

Hotmail supports access via IMAP, POP3 and SMTP protocols. Below you can find the configuration settings for those protocols.

All Hotmail servers (POP3 and SMTP) use implicit SSL (use ConnectSSL method).
SMTP server supports explicit SSL (you can use Connect method and then secure the channel using StartTLS method)

IMAP

Server: imap-mail.outlook.com
SSL: true-implicit
Port: 993 (default)
User: pat@hotmail.com

POP3

Server: pop-mail.outlook.com
SSL: true-implicit
Port: 995 (default)
User: pat@hotmail.com

POP access must be turned on via web interface.
In the web interface click “gear icon” in the top, right corner, then select “Options”.

Depending on the UI version:

On the options pane click “Mail/Accounts/POP and IMAP”. In the “POP options” section select “Yes”.

-or-

On the options pane click “Connect devices and apps with POP” link. In the “POP” section mark “Enable”.

SMTP

Server: smtp-mail.outlook.com
SSL: true-explicit
Port: 587 (default)
User: pat@hotmail.com

Following are the code samples for Mail.dll .NET IMAP, POP3 and SMTP component.

// C#

using (Imap client = new Imap())
{
    client.ConnectSSL("imap-mail.outlook.com");
    client.UseBestLogin("pat@hotmail.com", "password");
    ...
}

using (Pop3 client = new Pop3())
{
    client.ConnectSSL("pop-mail.outlook.com");
    client.UseBestLogin("pat@hotmail.com", "password");
    ...
}

using (Smtp client = new Smtp ())
{
    client.Connect("smtp-mail.outlook.com");
    client.StartTLS();
    client.UseBestLogin("pat@hotmail.com", "password");
    ...
}
' VB.NET

Using client As New Imap()
	client.ConnectSSL("imap-mail.outlook.com")
	client.UseBestLogin("pat@hotmail.com", "password")
	...
End Using

Using client As New Pop3()
	client.ConnectSSL("pop-mail.outlook.com")		
	client.UseBestLogin("pat@hotmail.com", "password")
	...
End Using

Using client As New Smtp()
	client.Connect("smtp-mail.outlook.com")
	client.StartTLS()
	client.UseBestLogin("pat@hotmail.com", "password")
	...
End Using

Tags:       

Questions?

Consider using our Q&A forum for asking questions.

7 Responses to “Hotmail: IMAP, POP3, and SMTP settings”

  1. Michaelangelo Eiseb Says:

    I cannot verify my hotmail account because I do noy see my inbox. Please help me.

  2. Limilabs support Says:

    @Michaelangelo

    Are you using Mail.dll?

  3. Josh Says:

    try a different port number for smtp, the numbers listed here are not the ones used by microsoft. The default port number is 25, and the alternative -if the ISP is blocking 25- to use is 587.

    As listed at Microsoft’s site with the following link:
    http://windows.microsoft.com/en-CA/hotmail/send-receive-email-from-mail-client

  4. Limilabs support Says:

    @Josh

    Provided port numbers are correct.

    Hotmail works on both 25 and 587 with explicit SSL (STARTTLS) and on port 465 with implicit SSL.
    Port 587 is currently a default port for MSA without SSL or with explicit SSL.

  5. chiji Says:

    thanks, this helps. only wish they supported imap!

  6. ronnie chamberlain Says:

    where is my Microsoft password

  7. Limilabs support Says:

    @Ronni,

    You should have received your password during account creation.