I am attempting to setup SMTP using my fastmail account. I helpfully found this blog post, but these settings do not seem to work anymore.
I’ve tried a number of combinations of port, and security requirements, but thus far no luck. Here’s my current mail config from my config.production.json
"mail": {
"from": "nick@nickbodmer.com",
"transport": "SMTP",
"options": {
"service": "FastMail",
"host": "smtp.fastmail.com",
"port": 465,
"secureConnection": true,
"requiresAuth": true,
"auth": {
"user": "nick@nickbodmer.com",
"pass": "PASSWORD"
}
}
},
When I check the logs, I find this SMTP error: “Failed to send email. Reason: Message failed: 551 5.7.1 Not authorised to send from this header address.”
I’ve opened a ticket with FastMail but I thought I’d check here as well to see if anyone has gotten this working.