Re: Django mailing [Errno 97] Address family not supported by protocol

2020-01-15 Thread Integr@te System
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 
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=Rakib=rakibpathan07%40gmail.com=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 +
>
>
>
>
>
>
> EMAIL_USE_TLS = True
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_USER = 'mym...@gmail.com'
> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/597edf4c-175c-4ebd-9017-933cfd54af7e%40googlegroups.com
> 
> .
>

-- 
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 django-users+unsubscr...@googlegroups.com.
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.


Django mailing [Errno 97] Address family not supported by protocol

2020-01-15 Thread PM Rakibul Hasan
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=Rakib=rakibpathan07%40gmail.com=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 +






EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'mym...@gmail.com'
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/597edf4c-175c-4ebd-9017-933cfd54af7e%40googlegroups.com.