# Ticket 34753, Document how to properly escape \`to\` in email messages

**URL:** <https://forum.djangoproject.com/t/ticket-34753-document-how-to-properly-escape-to-in-email-messages/43551>\
**Category:** Django Internals\
**Created:** [November 26, 2025, 7:32am UTC](https://forum.djangoproject.com/t/ticket-34753-document-how-to-properly-escape-to-in-email-messages/43551 "2025-11-26T07:32:37Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![adamchainz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/adamchainz/32/26_2.png) [@adamchainz](https://forum.djangoproject.com/u/adamchainz)\
**Post date:** [December 7, 2025, 9:34pm UTC](https://forum.djangoproject.com/t/ticket-34753-document-how-to-properly-escape-to-in-email-messages/43551/10 "2025-12-07T21:34:55Z")

</div>

> [@medmunds](#):
>
> The safe way to format a display name and email into an address is by using the [`Address`](https://docs.python.org/3/library/email.headerregistry.html#email.headerregistry.Address) object from Python’s modern email API:

Can we make the APIs accept `Address` objects as well as `str`? That would act as an attractor towards the safe method, and provide a clear documentation point for when to use `Address` vs `str`.

---

_[View the full topic](https://forum.djangoproject.com/t/ticket-34753-document-how-to-properly-escape-to-in-email-messages/43551)._
