AOL: IMAP, POP3, and SMTP settings

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

All AOL servers (IMAP, POP3 and SMTP) can work in plain mode (you can use Connect method) or use implicit SSL (use ConnectSSL method) or use explicit SSL (you can use Connect method and then secure the channel using StartTLS or STLS methods)

IMAP

Server: imap.aol.com
SSL: true-implicit
Port: 993 (default)
User: pat@yahoo.com

POP3

Server: pop.aol.com
SSL: true-implicit / true-explicit
Port: 995 (default) / 110 (default)
User: pat@aol.com

SMTP

Server: smtp.aol.com
SSL: false / true-implicit / true-explicit
Port: 587 (default) / 465 (default) / 587 (default)
User: pat@aol.com

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

// C#

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

using (Pop3 client = new Pop3())
{
    client.ConnectSSL("pop3.aol.com");
    client.UseBestLogin("pat@aol.com", "password");
    ...
}

using (Smtp client = new Smtp ())
{
    client.ConnectSSL("smtp.aol.com");
    client.UseBestLogin("pat@aol.com", "password");
    ...
}
' VB.NET

Using client As New Imap()
	client.ConnectSSL("imap.aol.com")
	client.UseBestLogin("pat@aol.com", "password")
	...
End Using

Using client As New Pop3()
	client.ConnectSSL("pop3.aol.com")		
	client.UseBestLogin("pat@aol.com", "password")
	...
End Using

Using client As New Smtp()
	client.ConnectSSL("smtp.aol.com")
	client.UseBestLogin("pat@aol.com", "password")
	...
End Using

You can find more details about using implicit and explicit SSL or TLS with email protocols:

Tags:       

Questions?

Consider using our Q&A forum for asking questions.