If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.
If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.
What version of Ghost are you using? Latest (Docker)
And
How was Ghost installed and configured?
What Node version, database, OS & browser are you using? NodeJS v18.17.1 - MySQL, Windows 11, Chrome
What errors or information do you see in the console? Failed to load resource: the server responded with a status of 504 () (Container; [2023-09-16 14:26:18] WARN Error sending email: Failed to send email. Reason: Connection timeout. Please check your email settings and resend the invitation.)
What steps could someone else take to reproduce the issue you’re having?
Get this config;
{
“url”: “http://localhost:2368”,
“server”: {
“port”: 2368,
“host”: “0.0.0.0”
},
“mail”: {
“transport”: “SMTP”,
“options”: {
“service”: “Sendgrid”,
“host”: “smtp.sendgrid.net”,
“port”: 587,
“secure”: true,
“auth”: {
“user”: “apikey”,
“pass”: “SG.MYPRIVATEAPIKEY”
}
}
},
“logging”: {
“transports”: [
“file”,
“stdout”
]
},
“process”: “systemd”,
“paths”: {
“contentPath”: “/var/lib/ghost/content”
}
}
This example shows apikey, but you have apiKey (note the difference in capitalization). I’m not sure which is correct, or if sendgrid cares about capitalization of that field - you’d need to check sendgrid’s docs.
If you haven’t already, check your ghost logs - there might be more detail about the problem. Also check that you aren’t firewalling this port, and that your web host doesn’t block it.
Can you check with your host if outbound 587 is enabled? I think I’ve seen a few self hosters mention that they had to reach out to their cloud provider to enable the port.