# Auth0 not sending Email Verification emails

**URL:** <https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523>\
**Category:** Get Help\
**Tags:** email\_verified, verification, verification-email, auth0\
**Created:** [August 25, 2021, 11:54am UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523 "2021-08-25T11:54:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua.tanton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joshua.tanton/32/12921_2.png) [@joshua.tanton](https://community.auth0.com/u/joshua.tanton)\
**Post date:** [August 25, 2021, 11:54am UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/1 "2021-08-25T11:54:16Z")

</div>

The docs say that auth0 automatically sends verification emails on signups by default. This options may have been changed by another user of our tenant. But I can’t seem to find this option to turn it back on. I know you can call the api to send verification emails, but I’m looking for auth0 to do it automatically after a sign up.

Does anyone know why this is not happening? Or where the setting is that controls this?

Thanks,

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 26, 2021, 4:34pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/3 "2021-08-26T16:34:20Z")

</div>

Hi @joshua.tanton,

Welcome to the Auth0 Community!

Yes, your tenant should be sending verification emails by default. Have you configured an [email provider](https://auth0.com/docs/email/configure-external-smtp-email-providers) and make sure your [verification email template is enabled](https://auth0.com/docs/email/customize-email-templates).

Can you also please share why type of connection you are using? Database, social(google, facebook, etc), or otherwise?

---

<div class="post-metadata">

**Author:** ![joshua.tanton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joshua.tanton/32/12921_2.png) [@joshua.tanton](https://community.auth0.com/u/joshua.tanton)\
**Post date:** [August 26, 2021, 4:46pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/4 "2021-08-26T16:46:30Z")

</div>

Hi Dan,

Thanks for the reply, I will look into setting up the email provider and template. I’m fairly certain we haven’t done this yet.

Once this is setup, is there a way for me to only enable it for specific databases and/or applications. our tenant uses multiple databases across multiple apps. The app I’m specifically concerned about sending verification emails uses username/password databases as well as google and facebook social connections. It also uses an AD connection, but we would not require email verifications for this.

Thanks,

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 26, 2021, 8:29pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/5 "2021-08-26T20:29:56Z")

</div>

> [@joshua.tanton](#):
>
> Once this is setup, is there a way for me to only enable it for specific databases and/or applications.

No, this is a global setting. If you want to customize email verification on a per-application basis, then you will need to handle the email and verification flow. You can use Actions to call your email provider.

> [@joshua.tanton](#):
>
> The app I’m specifically concerned about sending verification emails uses username/password databases as well as google and facebook social connections. It also uses an AD connection, but we would not require email verifications for this.

Edit: Your social connections will require email verification.

---

<div class="post-metadata">

**Author:** ![joshua.tanton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joshua.tanton/32/12921_2.png) [@joshua.tanton](https://community.auth0.com/u/joshua.tanton)\
**Post date:** [August 31, 2021, 2:44pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/6 "2021-08-31T14:44:00Z")

</div>

Hi Dan,

this has helped. I’ve been able to call the tickets/email-verification api to get a verification link for my users which I will send in an email myself.  
However, I can only seem to get it to work for my username/password database users. For my AD Connection I can’t seem to find the correct value for the provider field. Any ideas? I’ve Tried “NameOfActualConnection”, “Active Directory”, “Active Directory / LDAP”, “AD”, “LDAP”. All of these give mteh 400 bad request saying that the identity.provider property has an invalid value.

Any ideas?

Thanks,

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 31, 2021, 3:31pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/7 "2021-08-31T15:31:20Z")

</div>

I don’t have an AD/LDAP connection set up to test, but it should be the _Connection Name_ you see in the connection settings. This:

 ![Screen Shot 2021-08-31 at 8.29.05 AM](https://global.discourse-cdn.com/auth0/original/3X/9/2/92ca1ffca1f10f383ed13460b45368e3f0547891.png)

---

<div class="post-metadata">

**Author:** ![joshua.tanton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joshua.tanton/32/12921_2.png) [@joshua.tanton](https://community.auth0.com/u/joshua.tanton)\
**Post date:** [September 1, 2021, 3:47pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/8 "2021-09-01T15:47:52Z")

</div>

So I was using this and it was failing. I got some error indicating I would need to update my AD connector.  
But I realized this isn’t needed. I won’t need these links for users from the AD connection. So what I attempted to do was automatically mark these users as email\_verified by using the PATCH api ([https://blabla.auth0.com/api/v2/users/{user\_id}](https://blabla.auth0.com/api/v2/users/%7Buser_id%7D)) with the following payload:  
{  
“email\_verified” : “true”  
}  
However, I’ve come across two issues with this. The api itself returns a bad request error. When looking at the raw JSON of my AD users this property does not exist. Almost as if this field does not exist for AD accounts.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 1, 2021, 4:06pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/9 "2021-09-01T16:06:52Z")

</div>

I found this topic that looks like it may answer this question. Can you take a look and see if it provides any insight?

[https://community.auth0.com/t/email-verified-for-ad-ldap-connections/11973/3](https://community.auth0.com/t/email-verified-for-ad-ldap-connections/11973/3)

---

<div class="post-metadata">

**Author:** ![joshua.tanton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joshua.tanton/32/12921_2.png) [@joshua.tanton](https://community.auth0.com/u/joshua.tanton)\
**Post date:** [September 1, 2021, 4:16pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/10 "2021-09-01T16:16:32Z")

</div>

Hi Dan,

Yes we discovered this ourselves just 10 minutes ago when we will looking at our AD Connector (written by a different team member). This appears to have worked. After login the AD user is set to verified.

Thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 1, 2021, 4:19pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/11 "2021-09-01T16:19:58Z")

</div>

Glad you found a solution, and thank you for posting a follow up! Let us know if you have other questions.

---

<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:** [September 16, 2021, 4:20pm UTC](https://community.auth0.com/t/auth0-not-sending-email-verification-emails/68523/12 "2021-09-16T16:20:15Z")

</div>

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