# Tags showing in email

**URL:** <https://forum.djangoproject.com/t/tags-showing-in-email/24354>\
**Category:** Getting Started\
**Created:** [October 6, 2023, 5:13pm UTC](https://forum.djangoproject.com/t/tags-showing-in-email/24354 "2023-10-06T17:13:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jslovern391](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/jslovern391/32/16283_2.png) [@jslovern391](https://forum.djangoproject.com/u/jslovern391)\
**Post date:** [October 6, 2023, 5:13pm UTC](https://forum.djangoproject.com/t/tags-showing-in-email/24354/1 "2023-10-06T17:13:57Z")

</div>

Sending an email and the html tag for the URL is showing.

```auto
{% load static %}

{% autoescape off %}
Hello {{ user.username }},

Please click the link below to activate your account:

{% block reset_link %}
<a href="http://{{ domain }}{% url 'activate' uidb64=uid token=token %}">Activate your account"></a>
{% endblock %}

{% endautoescape %}

```

Email

Hello gasgfgg,

Please click the link below to activate your account:

```auto
<a href="http://127.0.0.1:8000/accounts/activate/MTIw/bvnglz-21b1dc9189fdde038644cab2558433cb/">Activate your account"></a>

```

The code shows like this in email.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [October 6, 2023, 5:20pm UTC](https://forum.djangoproject.com/t/tags-showing-in-email/24354/2 "2023-10-06T17:20:52Z")

</div>

Are you sending a text email or an html email?

If you’re trying to send html email, see the [`html_message`](https://docs.djangoproject.com/en/4.2/topics/email/#send-mail) parameter in the `send_mail` method.

---

<div class="post-metadata">

**Author:** ![jslovern391](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/jslovern391/32/16283_2.png) [@jslovern391](https://forum.djangoproject.com/u/jslovern391)\
**Post date:** [October 6, 2023, 6:01pm UTC](https://forum.djangoproject.com/t/tags-showing-in-email/24354/3 "2023-10-06T18:01:34Z")

</div>

Worked. Thanks again.
