I
I
Ivan Kagenvagen2015-02-26 09:50:17
Django
Ivan Kagenvagen, 2015-02-26 09:50:17

Is there any way to send form data to email (django)?

Faced with a problem. It is necessary to send data from the form to email.
The site is written in django, I just started learning it.
I want to know if there are any useful libraries and how to use them)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
medvoodoo, 2015-02-26
@medvoodoo

Create a form (if you do not need to write to the database, then the usual one), insert it into the template.
djbook.ru/rel1.7/#forms
In the view, check its validity, if everything is OK, substitute the data in the email template and send it to the mail
djbook.ru/rel1.7/topics/email.html
The main "useful library" -django : )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question