Hi Rakibul,

Plz check again your protocol in sending mail, not in http request.
Nice.


On Wed, Jan 15, 2020, 17:32 PM Rakibul Hasan <[email protected]>
wrote:

> My Error:
> OSError at /send_email/
>
> [Errno 97] Address family not supported by protocol
>
> Request Method: GET
> Request URL:
> https://www.nimikh.com/send_email/?csrfmiddlewaretoken=vynGxVc4pHoAYcIEu3K4h6RYRbAJ4JwbXiFSG8rUFzg8N19rXtZpkuniq91NKalv&name=Rakib&email=rakibpathan07%40gmail.com&message=vdfhhf
> Django Version: 2.2.7
> Exception Type: OSError
> Exception Value:
>
> [Errno 97] Address family not supported by protocol
>
> Exception Location: /opt/alt/python36/lib64/python3.6/socket.py in
> __init__, line 144
> Python Executable: /home/mdosw63339bt/virtualenv/mysite/3.6/bin/python3.6
> Python Version: 3.6.8
> Python Path:
>
> ['/home/mdosw63339bt/mysite',
>  '/opt/passenger-5.3.7-8.el6.cloudlinux/src/helper-scripts',
>  '/home/mdosw63339bt/virtualenv/mysite/3.6/lib64/python36.zip',
>  '/home/mdosw63339bt/virtualenv/mysite/3.6/lib64/python3.6',
>  '/home/mdosw63339bt/virtualenv/mysite/3.6/lib64/python3.6/lib-dynload',
>  '/opt/alt/python36/lib64/python3.6',
>  '/opt/alt/python36/lib/python3.6',
>  '/home/mdosw63339bt/virtualenv/mysite/3.6/lib/python3.6/site-packages']
>
>
> Wed, 15 Jan 2020 06:56:56 +0000
>
>
>
>
>
>
> EMAIL_USE_TLS = True
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_USER = '[email protected]'
> EMAIL_HOST_PASSWORD = 'Password'
> EMAIL_PORT = 587
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/597edf4c-175c-4ebd-9017-933cfd54af7e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/597edf4c-175c-4ebd-9017-933cfd54af7e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP5HUWpZ2WFD7KXrpAuN52_4U%3DcXs2%3D1s%2B5VaQgT7YK%3DM4APUA%40mail.gmail.com.

Reply via email to