Re: SMTPServerDisconnected

2022-07-01 Thread 'Kasper Laudrup' via Django users
On 01/07/2022 08.06, Tuan Truong wrote: settings.py EMAIL_HOST ='smtp.gmail.com ' EMAIL_PORT =587 EMAIL_HOST_USER ='t...@gmail.com ' EMAIL_HOST_PASSWORD ='' EMAIL_USE_TLS =True That's really cool. Thanks a lot a lot for sharing this. Kind regards

SMTPServerDisconnected

2022-07-01 Thread Tuan Truong
settings.py EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = 't...@gmail.com' EMAIL_HOST_PASSWORD = '' EMAIL_USE_TLS = True -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Getting "SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer" errors when using django.core.mail.send_mail in the loop

2019-05-21 Thread Asif Khan
mail_from = 'from_...@xx.com ' > mail_to = [user_email] > send_mail(mail_title, > mail_content, > mail_from, > mail_to) > > This command can run well in

Getting "SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer" errors when using django.core.mail.send_mail in the loop

2016-06-28 Thread Haomin Zhang
mail_to) This command can run well in local server. But when I launch it on the VPS and if call send_mail more than once, below mesasge appear: "SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer" But if only one backlog