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.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay