Cannot get the Subscription portal to work and change the Email for Support and Newsletters

Hi, I installed Ghost via self-hosted platform in DO.

I am having trouble getting the signups to work and I also can’t change the support and newsletter email addresses. I am able to send test emails/newsletters.

Here is the settings I added in config.production.json

"mail:"  {
     "transport": "SMTP",
     "options": {
        "service": "Mailgun",
        "host": "smtp.mailgun.org",
        "port": 465,
        "auth": {
           "user": "postmaster@domain.com",
           "pass": "pwd"
        }
     }
  },

I would appreciate some help! Thanks!

Here’s my website: https://dietrich.ink

What error do you get in your logs?

Where do I access the error logs? :grimacing:

https://ghost.org/docs/ghost-cli/#ghost-log

Hi @Kevin

Here’s how it looks like.

ghost log

'ghost log -e`

You’ll need to look through the logs for errors related to sending email. Try signing up so an error will show up near the end of the file to make it easier.

Was able to fix this by using Port 587 instead of 465. So my config now shows:

"mail:"  {
     "transport": "SMTP",
     "options": {
        "service": "Mailgun",
        "host": "smtp.mailgun.org",
        "port": 587,
        "auth": {
           "user": "postmaster@domain.com",
           "pass": "pwd"
        }
     }
  },
1 Like