Hello,

Usually port 465 needs EMAIL_USE_SSL=True and EMAIL_USE_TLS=False. With port 587
it's usually opposite.

Regards,

A.

Antonis Christofides
http://djangodeployment.com

On 04/02/2017 03:13 PM, Bassam Ramadan wrote:
> i'm using the following backend
>
> EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
> EMAIL_HOST='ams101.arvixeshared.com'
> EMAIL_PORT=465
> EMAIL_HOST_USER='my email'
> EMAIL_HOST_PASSWORD='my password'
> EMAIL_USE_TLS=True
>
> and im getting this error
>
> Exception Type: SMTPServerDisconnected at /email/
> Exception Value: Connection unexpectedly closed
> -- 
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/08e265e7-4c21-4f85-9dff-02fcdb5a5584%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/08e265e7-4c21-4f85-9dff-02fcdb5a5584%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/07fd2e95-7b22-ab08-52bc-955b7d2bf095%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to