dawidd6 / action-send-mail

:gear: A GitHub Action to send an email to multiple recipients
MIT License
443 stars 186 forks source link

Error 530 5.7.0 : TLS error #186

Open vijendra-kiswok opened 9 months ago

vijendra-kiswok commented 9 months ago

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 commented 9 months ago

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

a-ba commented 1 month ago

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

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