Ghost version: 3.12.0, installed with DO’s Ghost 1-Click App.
I’m trying to send by email (deliver posts to members) when publishing a post. In the post settings, The Email Newsletter test email is working, but when I press publish, with the send by email enabled, the website just kinda freezes? and nothing happens. No error pop-ups or anything. Without send by email enabled, story publishes just fine.
I’ve set up Mailgun API in Labs setting. I’ve changed the config.production.json file to
“mail”: {
“transport”: “SMTP”,
“options”: {
“service”: “Mailgun”,
“host”: “smtp.mailgun.org”,
“port”: 587,
“auth”: {
“user”: “xxx”,
“pass”: “xxx”
}
}
}
That json file configuration is for transactional emails (inviting new authors, etc.). To get newsletters working you have to insert the Mailgun domain and API key:
From what you describe it sounds like the Mailgun configuration isn’t quite right, or that the site hasn’t been given enough memory? Are you able to check the logs for any errors?
For Mailgun API key box, I filled in the Private API key I found from API security on mailgun. And Mailgun domain is filled by a subdomain that’s been verified and ready to use listed on Sending - Domains - Name.