# 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:** 23

<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:** [February 16, 2023, 8:42am UTC](https://forum.ghost.org/t/failed-to-send-magic-link-email-error-when-trying-to-sign-up/31035/23 "2023-02-16T08:42:41Z")

</div>

See this post:

> [@Ghost Email Setup with Nginx Reverse Proxy](https://forum.ghost.org/t/ghost-email-setup-with-nginx-reverse-proxy/14407/2):
>
> Use these environment variables in your docker-compose. environment: mail\_\_transport: SMTP mail\_\_options\_\_host: mail\_\_options\_\_port: mail\_\_options\_\_auth\_\_user: mail\_\_options\_\_auth\_\_pass: mail\_\_from: email@domain.com. \<email@domain.com\> I got it working like this. Perhaps bit late of an answer, but might still help you or someone else out.

---

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