Fix email errors / Sending errors

SMTP error 530 5.7.0: authentication required or STARTTLS first

530 5.7.0 means the outgoing server will not take your message yet: it wants you to sign in ("Authentication required", RFC 4954) or to switch on encryption first ("Must issue a STARTTLS command first", RFC 3207). Gmail uses this code for both.

Fix it in your mail app's outgoing (SMTP) settings

  1. Turn on authentication for the outgoing server, with the same username and password as for receiving (for Gmail, iCloud, Yahoo and AOL that is an app password).
  2. Use port 587 with STARTTLS or port 465 with SSL/TLS. Port 25 is for servers talking to each other and is often blocked.
  3. Use your full email address as the username unless your provider says otherwise.

Settings for common providers

ProviderOutgoing serverPort and security
Gmailsmtp.gmail.com465 SSL or 587 STARTTLS
Outlook.comsmtp-mail.outlook.com587 STARTTLS
iCloud Mailsmtp.mail.me.com587 STARTTLS
Yahoo Mailsmtp.mail.yahoo.com465 SSL or 587 STARTTLS