You should generate a certificate to use TLS (even something self signed, or try Let's Encrypt and get a free cert from there). Other than that we have the same settings and I've been sending mail successfully with almost identical settings the past day or so.
I presume you are using an app-specific password. Another difference I see is that I removed the default from setting since it doesn't match the host user (and I don't expect that google would deliver it). Best of luck! On Fri, Feb 19, 2016 at 12:17 PM, <setivolkyl...@gmail.com> wrote: > my settings > > EMAIL_USE_TLS = True > DEFAULT_FROM_EMAIL = 'webmaster@vaility' > EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' > EMAIL_FILE_PATH = None > EMAIL_HOST = 'smtp.gmail.com' > EMAIL_HOST_PASSWORD = 'lv210493' > EMAIL_HOST_USER = 'setivolkyl...@gmail.com' > EMAIL_PORT = 587 > EMAIL_SUBJECT_PREFIX = '[Django] ' > EMAIL_TIMEOUT = None > EMAIL_USE_TLS = True > SERVER_EMAIL = 'root@vaility' # email for errors > > Every time I had next error > > SMTPAuthenticationError: (534, b'5.7.14 < > https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsy1\n5.7.14 > Hm68kFAtFDZroMBYjdIl_EN2We7HAeUt2puFzfziG5SUr_1ZyN9UgsCfV_M_RKiMRBEYw9\n5.7.14 > F4k9yCuW8gTxTgcL5lV4ofXgDXumhhKkh7yc-BvkyqL1NBPZv_WXNPD7qQQUhUO8-KikpH\n5.7.14 > ct0vd7ZvgpfIF48HMJKlSiICSCHsmwaqU9Atwc5dx4RlcMJ7Bcn63ePgmwruSeBHh4rKOB\n5.7.14 > nGaIDTGZyrou7ao5k4lm5t6wxosA> Please log in via your web browser > and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 > https://support.google.com/mail/answer/78754 eb3sm1684842lbc.31 - gsmtp') > > I again sigin in my account, but not result > > > -- > 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 django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d2feb1b0-56c0-41ee-9a61-75acf91f5b90%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/d2feb1b0-56c0-41ee-9a61-75acf91f5b90%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGq7KhqUEhjqqnM5cNj1mCbTGXjLj5exJHNakwVnQdjAgaXrug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.