Z
Z
zelsky2015-10-22 00:34:28
Django
zelsky, 2015-10-22 00:34:28

Django contact form?

I can't figure out how a simple email sending from the contact page works.
Doki smoked but did not understand anything.
Google does not authorize even when authorization from other applications is enabled.
You just need to accept messages from users.
Or is it easier to file the model and send it to the database? Completely screwed up.

EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = "[email protected]"
EMAIL_HOST_PASSWORD = ""
EMAIL_USE_TLS = True

SERVER_EMAIL = EMAIL_HOST_USER
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER

SMTPAuthenticationError at /contacts

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zelsky, 2015-10-22
@zelsky

Guide helped. Thanks to all.
www.ustimov.org/posts/14

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question