Hotmail supports access via 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 also supports explicit SSL (you can use Connect method and then secure the channel using StartTLS method)
IMAP
At this time IMAP is not supported by Hotmail.
POP3
Server: pop3.live.com
SSL: true, implicit
Port: 995 (default)
User: pat@hotmail.com
SMTP
Server: smtp.live.com
SSL: true, implicit / true, explicit
Port: 465 (default) / 586 (default)
User: pat@hotmail.com
Following are the code samples for Mail.dll .NET IMAP, POP3 and SMTP component.
// C# using (Pop3 client = new Pop3()) { client.ConnectSSL("pop3.live.com"); client.UseBestLogin("pat@hotmail.com", "password"); ... } using (Smtp client = new Smtp ()) { client.ConnectSSL("smtp.live.com"); client.UseBestLogin("pat@hotmail.com", "password"); ... }
' VB.NET Using client As New Pop3() client.ConnectSSL("pop3.live.com") client.UseBestLogin("pat@hotmail.com", "password") ... End Using Using client As New Smtp() client.ConnectSSL("smtp.live.com") client.UseBestLogin("pat@hotmail.com", "password") ... End Using