I’ve setup email with gmail smtp, using 465 ssl and tried ttl 587 but when I click on test I recieve below error, any idea what’s wrong?
I tested the same setting on my outlook it works fine but in your script it got the error as shown below: (I tried the same setting on my outlook client is working)
Error sending email. Check your mail server settings and try again. SMTP error: “220 mx.google.com ESMTP iq6sm80577873pbc.1 – gsmtp ” Email send a “SMTP” failure