I
I
IMrnsv2019-03-16 19:53:08
Django
IMrnsv, 2019-03-16 19:53:08

How to send emails via smtp.yandex.ru in Django?

It seems that everything is set up correctly, in the console the letters seem to go away. But I don’t understand: how can I even see how the connection was established with the mail server and what did he answer? How to debug sending emails in Django?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
uaVPS, 2019-03-16
@uaVPS

Few initial data.
Show SMTP config in DJANGO.
Run a test - add to config

EMAIL_HOST = 'localhost'
EMAIL_PORT = 1025

Run Embedded SMTP in Python
Send a letter and look in the console with running SMTP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question