action-send-mail icon indicating copy to clipboard operation
action-send-mail copied to clipboard

Error 530 5.7.0 : TLS error

Open vijendra-kiswok opened this issue 2 years ago • 3 comments

i am getting this error from google. can u help. send-email Mail command failed: 530-5.7.0 Authentication Required. Learn more at 530 5.7.0 https://support.google.com/mail/?p=WantAuthError j5-20020a05620a288500b0077d8526bcdesm2261723qkp.86 - gsmtp

vijendra-kiswok avatar Dec 02 '23 09:12 vijendra-kiswok

According to google smtp codes this is the explanation 530, "5.7.0", Must issue a STARTTLS command first. https://support.google.com/a/answer/3726730?sjid=5306858857373442871-AP

vijendra-kiswok avatar Dec 02 '23 09:12 vijendra-kiswok

same problem here

The documentation is actually misleading: ~~STARTTLS is not supported by the action~~.

See: https://github.com/search?q=repo%3Adawidd6%2Faction-send-mail+starttls&type=code

  • with smtp:// the action opens a plaintext SMTP connection and optionally upgrades it with STARTTLS (if supported by the server)
  • with smtp+starttls// the action directly opens a SMTP connection over TLS (without issuing a STARTTLS command first)

Thus it is possible to use STARTTLS (using a smtp:// url), but you cannot require it.

a-ba avatar Jul 09 '24 14:07 a-ba