I integrated Mailgun (as far as filling out all the settings and adding the mail settings to the config file as below:
“mail”: {
“transport”: “SMTP”,
“options”: {
“service”: “Mailgun”,
“host”: “smtp.mailgun.org”,
“port”: 465,
“secureConnection”: true,
“auth”: {
“user”: “postmaster@mg.mydomain.com”,
“pass”: “blahblahblahnotmyactualpass”
}
}
},
(also changed the url at the top of the config file from http to https - not sure if that’s relevant)
…but when I try sending a test mail in Labs, I get the following message:
Failed to send email. Reason: Client network socket disconnected before secure TLS connection was established.
Can anyone help me solve this mystery please?