# Verification Code email is going to spam with new auth0user.net mailfrom

**URL:** <https://community.auth0.com/t/verification-code-email-is-going-to-spam-with-new-auth0user-net-mailfrom/118732>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [October 17, 2023, 4:50pm UTC](https://community.auth0.com/t/verification-code-email-is-going-to-spam-with-new-auth0user-net-mailfrom/118732 "2023-10-17T16:50:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacobboland](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jacobboland/32/49052_2.png) [@jacobboland](https://community.auth0.com/u/jacobboland)\
**Post date:** [October 17, 2023, 4:50pm UTC](https://community.auth0.com/t/verification-code-email-is-going-to-spam-with-new-auth0user-net-mailfrom/118732/1 "2023-10-17T16:50:12Z")

</div>

As of today, new mailFrom seems to be causing emails to go to spam. Before, the email was sent from [root@auth0.com](mailto:root@auth0.com), but now it is sent via [auth0user.net](http://auth0user.net). Here are the headers:

> **[Email Header Analyzer, RFC822 Parser - MxToolbox](https://mxtoolbox.com/Public/Tools/EmailHeaders.aspx?huid=1a260da7-5f30-4daf-8acc-546ee1113273)**

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![jacobboland](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jacobboland/32/49052_2.png) [@jacobboland](https://community.auth0.com/u/jacobboland)\
**Post date:** [October 17, 2023, 11:06pm UTC](https://community.auth0.com/t/verification-code-email-is-going-to-spam-with-new-auth0user-net-mailfrom/118732/2 "2023-10-17T23:06:04Z")

</div>

It seems we had the [root@auth0.com](mailto:root@auth0.com) in a template for passwordless which has since been removed. We updated the template and it is working again.

---

<div class="post-metadata">

**Author:** ![lucasadams](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucasadams/32/50153_2.png) [@lucasadams](https://community.auth0.com/u/lucasadams)\
**Post date:** [October 19, 2023, 4:30pm UTC](https://community.auth0.com/t/verification-code-email-is-going-to-spam-with-new-auth0user-net-mailfrom/118732/3 "2023-10-19T16:30:19Z")

</div>

We had the same issue. Was fixed by going into passwordless and changing the From field from:

{{ application.name }} [root@auth0.com](mailto:root@auth0.com)

to

{{ application.name }} \<[some verified email you own]\>

That fixed the issue when testing against my own spam folder at least. But will see if our corporate customers systems will allow the from email and via to be from different domains. Otherwise I’ll need to set up a custom email provider.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 2, 2023, 4:30pm UTC](https://community.auth0.com/t/verification-code-email-is-going-to-spam-with-new-auth0user-net-mailfrom/118732/4 "2023-11-02T16:30:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
