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
March 7th, 2017 at 08:53
I cannot verify my hotmail account because I do noy see my inbox. Please help me.
March 7th, 2017 at 09:30
@Michaelangelo
Are you using Mail.dll?
March 25th, 2017 at 20:40
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
March 25th, 2017 at 21:14
@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.
June 27th, 2017 at 12:27
thanks, this helps. only wish they supported imap!
March 10th, 2018 at 01:10
where is my Microsoft password
March 11th, 2018 at 16:31
@Ronni,
You should have received your password during account creation.