S
S
Sergey Ganzhela2018-10-14 17:59:13
Django
Sergey Ganzhela, 2018-10-14 17:59:13

Sending Django mail?

Good evening people of the forum! I’ll ask this question on the project, sending mail via smpt.yandex.com is configured. In general, mail works fine, everything is set up correctly, but from time to time such a situation occurs, the mail dies quietly, there are no errors, and the mail is not sent. Do you do uwsgi restore mail starts to go? 2-3 letters and again silence again restore and mail is sent, sometimes Yandex smtplib.SMTPSenderRefused: (553, b'5.7.1 Sender address rejected: not owned by auth user.', '********') swears, you restart uwsgi and the mail went, moreover, it sent in different ways both django.core.email and just smtplib everything is the same, No one has met with such a situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2018-10-17
@ulkoart

you should not send mail directly through Yandex, it is better to use the mailing service, there are free rates for up to 5-10K letters per month.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question