# The problem is that only Verification email(using code) is not received

**URL:** <https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191>\
**Category:** Get Help\
**Tags:** verification-email\
**Created:** [October 27, 2022, 3:22am UTC](https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191 "2022-10-27T03:22:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kubota](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kubota/32/16125_2.png) [@kubota](https://community.auth0.com/u/kubota)\
**Post date:** [October 27, 2022, 3:22am UTC](https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191/1 "2022-10-27T03:22:50Z")

</div>

I have been successfully sending Verification emails (using link) via the dashboard, but suddenly I am not receiving them.  
However, the Verification email (using code) still arrives.

The dashboard email test was successful, so I assume the email provider settings are correct.

Does anyone know how to solve the problem?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 27, 2022, 3:36am UTC](https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191/3 "2022-10-27T03:36:27Z")

</div>

Hi @kubota ,

Do you see any details about the failure in the tenant log? If the Verification Email (Using link) template is customized, is this failure persist if you use the default template?

Thanks!

---

<div class="post-metadata">

**Author:** ![kubota](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kubota/32/16125_2.png) [@kubota](https://community.auth0.com/u/kubota)\
**Post date:** [October 27, 2022, 5:28am UTC](https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191/4 "2022-10-27T05:28:33Z")

</div>

Thank you for your response.  
I looked at the log and it showed an error.  
I reset the email template as you suggested and the email is now delivered!

It seems to be because I had written an if statement like {% if user.user\_metadata.lang == ‘ja’ %}.  
This is strange because it was working without error until around last month.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 27, 2022, 5:54am UTC](https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191/5 "2022-10-27T05:54:32Z")

</div>

I noticed that the quote around `ja` is not correct. Could you update to below and check if it works?

`{% if user.user_metadata.lang == 'ja' %}`

Thanks!

---

<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 10, 2022, 5:55am UTC](https://community.auth0.com/t/the-problem-is-that-only-verification-email-using-code-is-not-received/93191/6 "2022-11-10T05:55:18Z")

</div>

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