# Address family not supported by protocol

**URL:** <https://forum.djangoproject.com/t/address-family-not-supported-by-protocol/14622>\
**Category:** Mystery Errors\
**Created:** [July 5, 2022, 6:38am UTC](https://forum.djangoproject.com/t/address-family-not-supported-by-protocol/14622 "2022-07-05T06:38:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hariprasanth-gk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/hariprasanth-gk/32/9139_2.png) [@hariprasanth-gk](https://forum.djangoproject.com/u/hariprasanth-gk)\
**Post date:** [July 5, 2022, 6:38am UTC](https://forum.djangoproject.com/t/address-family-not-supported-by-protocol/14622/1 "2022-07-05T06:38:44Z")

</div>

I got this error while try to send email from django, Help me to sort out this error

---

<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:** [July 5, 2022, 11:57am UTC](https://forum.djangoproject.com/t/address-family-not-supported-by-protocol/14622/2 "2022-07-05T11:57:48Z")

</div>

You’re going to need to start by providing us with a lot more information.

- What do your email-related settings look like?

- How are you trying to send the email?

- How are you running Django?

- What versions of Django and Python are involved here?

Note: When posting code here, surround the code between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code properly formatted in your post, which is critical with Python. (Please do _not_ post images of code. Copy/paste the actual code.)
