Trying to set up transactional emails and after searching through the forum, none of the solutions seem to be doing it for me.
I am 99% sure the pass is ok, using the one generated after clicking “reset”.
[2024-02-16 17:00:17] ERROR "POST /ghost/api/admin/invites/" 500 159ms
NAME: EmailError
CODE: EAUTH
MESSAGE: Error sending email: Failed to send email. Reason: Invalid login: 535 Authentication failed. Please check your email settings and resend the invitation.
"mail": {
"from": "'Website Team' <team@mg.website.org>",
"transport": "SMTP",
"options": {
"service": "Mailgun",
"host": "smtp.eu.mailgun.org",
"port": 587,
"secure": false,
"requireTLS": true,
"auth": {
"user": "postmaster@mg.website.org",
"pass": "xxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx-xxxxxxxx"
}
}
}
./swaks --auth --server smtp.eu.mailgun.org:587 --au postmaster@mg.website.org --ap xxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx-xxxxxxxx --to my@email.com --h-Subject: "hello" --body 'testing some mailgun'
=== Trying smtp.eu.mailgun.org:587...
=== Connected to smtp.eu.mailgun.org.
<- 220 Mailgun Influx ready
-> EHLO website-ubuntu-16.04
<- 250-8ce7d78dcfb4
<- 250-AUTH PLAIN LOGIN
<- 250-SIZE 52428800
<- 250-8BITMIME
<- 250-SMTPUTF8
<- 250-PIPELINING
<- 250 STARTTLS
-> AUTH LOGIN
<- 334 VXNlcm5hbWU6
-> cG9zdG1hc3RlckBtZy5jaW5lbWFob2xpY3MucnU=
<- 334 UGFzc3dvcmQ6
-> YzA3ODhjMTg3ZDAxNWQ0ODk5ZWZkZTBiZDM5ZjRhZjItOTg1YjU4ZjQtZjY4YjhhNTI=
<** 535 Authentication failed
-> AUTH PLAIN AHBvc3RtYXN0ZXJAbWcuY2luZW1haG9saWNzLnJ1AGMwNzg4YzE4N2QwMTVkNDg5OWVmZGUwYmQzOWY0YWYyLTk4NWI1OGY0LWY2OGI4YTUy
*** Remote host closed connection unexpectedly.