Change EMAIL_PORT = 465 EMAIL_USE_TLS=False EMAIL_USE_SSL=True On your sendmail function set sail_silently=False so that we can see an error on terminal On 23 Feb 2021, 14:15 +0300, Sergei Sokov <[email protected]>, wrote: > 'setting.py' > EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" > EMAIL_HOST_USER = "[email protected]" > EMAIL_HOST = "smtp.gmail.com" EMAIL_PORT = 587 > EMAIL_USE_TLS = True > EMAIL_HOST_PASSWORD = "Your_Password" > > • I have chtcked spam, I have tried different email services > • I switched the security allow less secure app on > вторник, 23 февраля 2021 г. в 12:05:27 UTC+1, [email protected]: > > you should be using app password instead of less secure option > > > > On Tue, Feb 23, 2021 at 3:36 PM Sergei Sokov <[email protected]> wrote: > > > I am trying to send an email when a user fills out a form on my site. > > > Everything works on my local server, letters are sent and I am got them. > > > On a remote timeweb.com server with the same settings, letters are not > > > sent. > > > Tried DEBUG = False and True > > > I tried different mail services: gmail, mail, yandex, timeweb mail. > > > In gmail included "Unreliable applications that have access to the > > > account". > > > And here I included https://accounts.google.com/DisplayUnlockCaptcha > > > Nothing helps. > > > > > > Who knows, please tell me where to dig. > > > -- > > > 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 view this discussion on the web visit > > > https://groups.google.com/d/msgid/django-users/9c081e17-30ad-4bf9-9728-6b3010b3736an%40googlegroups.com. > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5a345341-e0b6-4d81-87d4-b2cbdcbbd1c0n%40googlegroups.com.
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/450d8109-6251-4975-9fbc-73bf8286dd5a%40Spark.

