iCloud Mail SMTP Settings

Server smtp.mail.me.com, port 587 with STARTTLS. Full configuration, authentication requirements and fixes for the errors iCloud Mail actually returns.

Test these settings now

iCloud Mail only accepts SMTP connections on smtp.mail.me.com port 587 with STARTTLS, and only with an app-specific password created from your Apple ID.

iCloud Mail SMTP server settings

Outgoing mail (SMTP)

SMTP server
Port
STARTTLS · Required
Encryption
STARTTLS
Authentication
App-specific password (2FA required on the Apple ID)
Username
The part of your iCloud address before the @, or the full address
Password
App-specific password generated at appleid.apple.com
Sending limit
500 messages/day, 1,000 recipients/day

Incoming mail settings (IMAP & POP3)

SMTP sends mail; IMAP and POP3 retrieve it. You will usually need both sides configured for a working mail client.

ProtocolServerPortEncryption
SMTP Outgoingsmtp.mail.me.com587STARTTLS
IMAP Incomingimap.mail.me.com993SSL/TLS

How to set up iCloud Mail SMTP

  1. Sign in at appleid.apple.com.
  2. Make sure Two-Factor Authentication is on.
  3. Under Sign-In and Security → App-Specific Passwords, generate a new password.
  4. Use smtp.mail.me.com, port 587, STARTTLS.
  5. Enter your iCloud address as the username and the app-specific password as the password.

Verify it before you deploy. Paste these settings into the free SMTP test tool and send yourself a test message. It takes about twenty seconds and tells you whether iCloud Mail accepted the connection, the encryption and the login — before your application depends on it.

Common iCloud Mail SMTP errors

ErrorWhat to do
Authentication fails with the Apple ID passwordiCloud requires an app-specific password for SMTP. Generate one and retry.
Sender address rejectedThe From address must be your iCloud primary address or a verified alias.

Seeing a reply code that isn't listed here? Every standard SMTP response is explained in our SMTP error code reference.

iCloud Mail SMTP — frequently asked questions

The iCloud Mail SMTP server is smtp.mail.me.com. Connect on port 587 using STARTTLS encryption.

Port 587 with STARTTLS (Required).

Username: The part of your iCloud address before the @, or the full address
Password: App-specific password generated at appleid.apple.com

iCloud requires an app-specific password for SMTP. Generate one and retry.

The From address must be your iCloud primary address or a verified alias.