What am I doing wrong?

I want to configure smtp mail, gmail and when I make changes in config.production then when I restart Ghost will not start. Here’s what I stink at:
“mail”: {
“from”: “user@gmail.com”,
“transport”: “SMTP”,
“options”: {
“host”: “smtp.gmail.com”,
“service”: “Gmail”,
“port”: “465”,
“secure”: true,
“auth”: {
“user”: “user@gmail.com”,
“pass”: “password”

A config error is written. Also, if I do it manually, I get an error at the ghost config --mailuser user@gmail.com step as well

Have you set up an app password in Google? Also, I think you should use 587 not 465.

1 Like