AOL Mail's commonly documented settings are smtp.aol.com for sending on port 465 with SSL/TLS (port 587 with STARTTLS is also listed), imap.aol.com on port 993 with SSL/TLS for reading, and pop.aol.com on port 995 with SSL/TLS. The username is your full AOL address, and for third-party apps the password is an app password you generate in your AOL account security settings, not your normal sign-in password.
The app password is the step people miss. AOL accounts commonly require it for any application that is not AOL's own, so a correct normal password still produces an authentication failure. The sections below cover the settings, how to generate and use an app password, a test, and the errors you are likely to meet.
The settings at a glance
| Setting | Value |
|---|---|
| Outgoing server (SMTP) | smtp.aol.com |
| SMTP port, SSL/TLS | 465 |
| SMTP port, STARTTLS | 587 |
| Incoming server (IMAP) | imap.aol.com, port 993, SSL/TLS |
| Incoming server (POP3) | pop.aol.com, port 995, SSL/TLS |
| Authentication | Required for outgoing mail |
| Username | Full AOL address, such as [email protected] |
| Password | App password |
AOL Mail is operated within the same group as Yahoo Mail, and the two have a similar sign-in model. Settings and rules can change, so verify the values on AOL's current help pages when you configure a new device. If you also use Yahoo, see Yahoo SMTP settings, which follows the same approach.
Why you need an app password
A normal password proves who you are to the AOL sign-in page, which can ask for a second step such as a code. A mail app cannot answer that prompt, and giving apps your main password would also mean that any app that leaks it exposes your whole account. An app password is a generated, single-purpose password. It works only for mail protocols in the app you gave it to, you can revoke it individually.
Providers have been moving from passwords toward token-based sign-in (OAuth) for desktop clients, so some applications sign in through a browser window instead. If your application offers a sign in with AOL button, use it; if it only offers a password field, use an app password. The difference between the two is covered in SMTP OAuth 2.0.
Generate an AOL app password
- Sign in to your AOL account and open the account security or account info page.
- Turn on two-step verification if AOL asks you to. App passwords are tied to it.
- Find the option to generate an app password. The label has varied, for example Generate app password or Generate third-party app password.
- Choose Other app (or select the type of app) and give it a name such as Thunderbird laptop.
- Click Generate and copy the password shown. It is displayed once.
- Paste it in your mail client as the password for both incoming and outgoing servers.
- If you stop using the app, return to the same page and revoke that password.
Menu wording changes, so if you cannot find the option, search AOL's help for app password. The password is usually shown in groups of letters; enter it without spaces if your client does not accept them.
Configure a mail client
- Add a new account and choose manual or advanced setup.
- Pick IMAP for reading mail. IMAP keeps folders synchronised across devices. See IMAP, POP3 and SMTP compared.
- Set the incoming server to
imap.aol.com, port 993, SSL/TLS. - Set the outgoing server to
smtp.aol.com, port 465, SSL/TLS, with authentication on. - Enter the full address as the username and the app password as the password for both servers.
- Save, then send a test and confirm you can also receive.
Use AOL SMTP in an application or script
Scripts can use AOL SMTP for low-volume personal mail with the same values. A minimal Python example:
import smtplib
from email.message import EmailMessage
msg = EmailMessage()
msg["From"] = "[email protected]"
msg["To"] = "[email protected]"
msg["Subject"] = "Test"
msg.set_content("Hello from AOL SMTP")
with smtplib.SMTP_SSL("smtp.aol.com", 465) as s:
s.login("[email protected]", "YOUR_APP_PASSWORD")
s.send_message(msg)Read the password from an environment variable rather than writing it in the file. More patterns are in sending with smtplib.
Test the connection from a terminal
openssl s_client -connect smtp.aol.com:465 -quiet
openssl s_client -connect imap.aol.com:993 -quietA 220 greeting from SMTP or * OK from IMAP proves the network path and TLS work. If these succeed and the login fails, the issue is credentials. See testing an SMTP connection for a complete login test.
Common errors and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| 535 authentication failed | Normal password used instead of an app password, or a typo | Generate a new app password and paste it. See 535 authentication failed |
| App password option missing | Two-step verification is off | Enable two-step verification first |
| Login worked, then stopped | App password revoked or account security reset | Generate a new app password |
| Connection timed out | Network or ISP blocks the port | Try 587 or 465 and check the firewall. See timeouts and TLS errors |
| Sent mail not delivered, bounce mentions policy | Receiving side rejected the message content or reputation | Read the bounce code. See reading a bounce code |
| Daily limit message | Account sending cap reached | Wait for the cap to reset; AOL publishes limits that may change |
| Account locked | Unusual sign-in activity | Complete AOL account recovery, then create new app passwords |
Mobile devices and multiple accounts
On a phone, the built-in mail app usually offers AOL as a named provider and signs in through AOL itself, which avoids manual server entry. If you add the account as a generic IMAP account instead, use the manual values and an app password. When you run several accounts in one client, check that each account has its own outgoing server entry. A frequent mistake is leaving one account pointed at another provider's SMTP server, which results in a rejection because the sender address does not belong to the authenticated login.
If you use a shared computer, remove the account and revoke the app password when you finish. Revoking is cheap, and it limits the damage if a device is lost.
Limits and when AOL SMTP is the wrong tool
AOL Mail is a consumer mailbox. It caps the number of messages and recipients, and it will lock or throttle accounts that look like bulk senders. The numbers are AOL's to change, so check their current help pages. Do not run newsletters, signup flows or notification systems through a consumer mailbox. Messages sent that way carry the sender's personal reputation, give you no delivery events and are likely to be filtered. Sending from a domain you own through a relay or API also lets you publish SPF, DKIM and DMARC. See when to switch from a consumer mailbox and SMTP versus API.
Security checklist
- Enable two-step verification on the AOL account.
- Create one app password per application so you can revoke them separately.
- Store app passwords in a secrets store, not in source files.
- Remove old app passwords from the security page periodically.
- Be suspicious of any email asking you to sign in to AOL; see how to spot phishing.
If AOL mail lands in spam or bounces
An accepted message is not a delivered one. If recipients report that your AOL-sent mail goes to spam, remember that a free consumer address cannot publish its own authentication records, and that the content and your sending pattern decide placement. Keep messages personal and low volume. If the message bounces, read the enhanced status code in the bounce, since it tells you whether the problem is the recipient address, the content or your reputation; SMTP bounce codes explained maps the codes to causes.
Next steps
Generate the app password, configure the client, send a test and confirm both sending and receiving. If you are building anything that sends more than personal mail, set up a sending domain with SPF, DKIM and DMARC and use a service made for it.
Sending application mail? Use a dedicated relay on smtp.migosmtp.com rather than a consumer mailbox, with delivery and bounce events.
References and further reading
Frequently asked questions
What is the AOL SMTP server?
smtp.aol.com, with port 465 using SSL/TLS (587 with STARTTLS is also listed). Authentication is required.
What are the AOL IMAP settings?
imap.aol.com on port 993 with SSL/TLS. The username is your full AOL address.
Do I need an app password for AOL Mail?
For most third-party apps, yes. Generate one in your AOL account security settings and use it instead of your normal password.
Why does AOL SMTP say authentication failed?
Most often a normal password was used where an app password is required, or the app password was revoked. Generate a new one.
Can I use AOL Mail to send bulk email?
No. It is a consumer mailbox with sending caps. Use a dedicated relay or API for bulk and application email.