SMTP settings not working, Ghost still using default port 25

I am trying to configure locally installed Ghost 3.1.0 to use my email account. I have entered this information in the configuration file:

“mail”: {
“from”: “”,
“transport”: “SMTP”,
“options”: {
“host”: “”,
“port”: 587,
“auth”: {
“user”: “”,
“pass”: “”

However, sending mail fails, and the following error is shown in the log:
[2019-12-05 18:23:44] WARN Error sending email: Failed to send email. Reason: connect ETIMEDOUT Please check your email settings and resend the invitation.
[2019-12-05 18:25:40] INFO “POST /ghost/api/v3/admin/mail/test/” 200 120002ms

So it appears that it uses the correct IP ( is the address for but port 25 instead of 587, and it timeouts because port 25 is not open on the SMTP server.

How can I make it use the correct port for SMTP?

I think you have a lot of wrong quotation marks in there and that might cause your issues. Wrong in the sense that they appear to be local language type of quotation marks rather than standard English ones.

“mail” vs “mail”

However, I might be wrong. :slight_smile:

Later edit: after writing mine and pasting yours they now appear to be the same :slight_smile: heh, though in a text editor where I looked at them they appeared different.

That’s what this forum’s editor did to normal quotes that I pasted right from my terminal, so that’s not an issue…