DEV Community

Lucas Schiavini
Lucas Schiavini

Posted on • Originally published at lucas-schiavini.com on

Send Magic Link 500 - Ghost Mail Error - Ghost unable to send emails

Send Magic Link 500 - Ghost Mail Error - Ghost unable to send emails

So after updating to the 5.10 version of ghost to get some native comment functionality, my email sending capacity broke down.

I started getting 500 from the /send-magic-link HTTPS call.

But thanks to this thread I managed to sort it out again.

Here's the latest _ config.production.json _ that worked for me.

 "mail": {
    "from": "<EMAIL>",
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 465,
      "secure": true,
      "auth": {
        "user": "<USER>",
        "pass": "<PASS>"
      }
    }
  },
  "tls": {
    "rejectUnauthorized": false
  },
Enter fullscreen mode Exit fullscreen mode

Thanks to this dude here for the solution: https://forum.ghost.org/t/ghost-unable-to-send-emails/9934/33


😗 Enjoy my writing?

Forward to a friend and let them know where they can subscribe (hint: it’s here).

Anything else? Just say hello in the comments :).

Join an Exclusive Tech Friendly Community! Connect with like-minded people who are interested in tech, design, startups, and growing online — apply here.

Top comments (0)