# Failed to send magic link email Error when trying to sign up

**URL:** <https://forum.ghost.org/t/failed-to-send-magic-link-email-error-when-trying-to-sign-up/31035>\
**Category:** Self-hosting\
**Created:** [June 28, 2022, 6:40am UTC](https://forum.ghost.org/t/failed-to-send-magic-link-email-error-when-trying-to-sign-up/31035 "2022-06-28T06:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [June 28, 2022, 10:09pm UTC](https://forum.ghost.org/t/failed-to-send-magic-link-email-error-when-trying-to-sign-up/31035/14 "2022-06-28T22:09:00Z")

</div>

Okay, @Bryan0, @markstos, I think I got it sorted.

This config seems to work.

```auto
  "mail": {
    "from": "<email>",
    "transport": "SMTP",
    "options": {
      "host": "smtp.eu.mailgun.org",
      "port": 587,
      "service": "Mailgun",
      "secure": false,
      "requireTLS": true,
      "auth": {
        "user": "<email>",
        "pass": "<password>"
      }
    }
  },

```

---

_[View the full topic](https://forum.ghost.org/t/failed-to-send-magic-link-email-error-when-trying-to-sign-up/31035)._
