Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question