(Mailgun) Not Sending / Seeing Staff Invitation Emails

I’ve updated my Mailgun API settings in General Settings (for newsletters) and I’ve successfully (I think) updated my config.production.json with the proper SMTP settings.

And yet, when I try and send invitations for staff, no emails are received, and Mailgun doesn’t register any emails as sent.

For the Mailgun API settings, I added a new key using Add New Key on the API Keys page, then copied/pasted the Key ID into the field in General Settings, along with mail.helenafitzgerald.com as the domain and US as the region.

For the Mailgun SMTP settings, what follows is my current config.production.json …

  "url": "https://helenafitzgerald.com",
  "server": {
    "port": 2368,
    "host": ""
  "database": {
    "client": "mysql",
    "connection": {
      "host": "",
      "user": "ghost-398",
      "password": "XXXXXXXX",
      "port": 3306,
      "database": "ghost_production"
  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 587,
      "secureConnection": true,
      "auth": {
        "user": "postmaster@mail.helenafitzgerald.com",
        "pass": "XXXXXXXXXX"
  "logging": {
    "transports": [
  "process": "systemd",
  "paths": {
    "contentPath": "/var/www/ghost/content"

Finally, is there no longer a basic way to test Ghost email settings from admin?

Initially, TLS negotiates over a non-secure connection to determine the protocol version. Therefore, …

 "secureConnection": false,

Use SWAKS to test the connection.

1 Like