pmclanahan / django-celery-email

A Django email backend that uses a celery task for sending the email.
BSD 3-Clause "New" or "Revised" License
477 stars 108 forks source link

SMTPServerDisconnected('please run connect() first',) #39

Closed adi- closed 7 years ago

adi- commented 8 years ago

I am getting SMTPServerDisconnected('please run connect() first',) on some SMTP servers. I have no clue what could be wrong. For example GMail is working fine. When I move to my local provider I get this error. Do you think it could be a problem of django-celery-email?

Funny thing is, when I ommit EMAIL_TIMEOUT setting, those e-mails are sent in about 270 seconds or more! One by one ...

tcg commented 7 years ago

Hi, @adi- ...

I was just wandering by and noticed this comment.

That exception isn't part of this codebase, and I would bet it has more to do with underlying SMTP stuff from Django/Python. Especially since it works on some servers.

I've seen that error when I've accidentally left the EMAIL_HOST setting empty.

But if it works with no timeout, it sounds like a VERY slow SMTP server response, perhaps.

shaphat-pixel commented 3 years ago

facing the same problem and havent found any solution

middj2008 commented 3 years ago

Facing same any solution

chetrambassit121 commented 2 years ago

ugh same roblem works locally not in production ... i have another website with same coding and it works fine