Address family not supported by protocol

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

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?

    • What is the view or task that is sending 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.)