SMTP error 530 5.7.0: authentication required or must issue STARTTLS first
530 5.7.0 means the outgoing server won't accept your message until you do something first: sign in (RFC 4954's "Authentication required") or switch on encryption (RFC 3207's "Must issue a STARTTLS command first"). Gmail uses 530 5.7.0 with both messages, so the text after the code tells you which one to fix.
Updated
Causes and fixes
- 1
The text says authentication is required: the account's outgoing (SMTP) server is set to send without signing in. RFC 6409 says submission servers must, by default, refuse mail from sessions that haven't authenticated, using reply 530.
Turn on authentication for the outgoing server and enter your full email address and password, or an app password if your provider requires one.
- 2
The text says to issue STARTTLS first: the app is connecting to a server that requires encryption, but encryption is off for the outgoing server.
Set the outgoing server to port 587 with STARTTLS, or port 465 with SSL/TLS. For example, Google lists smtp.gmail.com with 465 for SSL and 587 for TLS.
From RFC 4954: SMTP Service Extension for Authentication (section 6), RFC 3207: SMTP Service Extension for Secure SMTP over TLS, RFC 6409: Message Submission for Mail (section 4.3), RFC 8314: Use of TLS for Email Submission and Access, Google Workspace Help: Gmail SMTP errors and codes, Google Workspace Help: Send email from a printer, scanner, or app. Check there if something has changed.
Related
Adding the account to Bloop.email?
The step-by-step guides cover app passwords and server settings for each provider.
See account setup