I got this error.
SMTP HOST: smtp.gmail.com
SMTP USERNAME: given to me by AWS
SMTP PASSWORD: given to me by AWS
FROM ADDRESS: I am using gmail for that.
No matching clause: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials i10sm14641834qkn.126 - gsmtp