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
- 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).
- Use port 587 with STARTTLS or port 465 with SSL/TLS. Port 25 is for servers talking to each other and is often blocked.
- Use your full email address as the username unless your provider says otherwise.
Settings for common providers
| Provider | Outgoing server | Port and security |
|---|---|---|
| Gmail | smtp.gmail.com | 465 SSL or 587 STARTTLS |
| Outlook.com | smtp-mail.outlook.com | 587 STARTTLS |
| iCloud Mail | smtp.mail.me.com | 587 STARTTLS |
| Yahoo Mail | smtp.mail.yahoo.com | 465 SSL or 587 STARTTLS |