Open engelmav opened 3 years ago
Email template coming
The endpoint for receiving the student application is
app.route("/api/student-application", methods=["POST"])
located in file codinginenglish/api/main_api.py
codinginenglish/api/main_api.py
What we want to do is send an email to the potential customer after they submit their application.
In order to send the email, you can use the pre-created send_mail function inside of codinginenglish/api/services/mailjet.py
codinginenglish/api/services/mailjet.py
Look for other uses of send_mail function to see how the template is created and how it's populated before it gets sent to send_mail.
send_mail
Email template coming
The endpoint for receiving the student application is
located in file
codinginenglish/api/main_api.py
What we want to do is send an email to the potential customer after they submit their application.
In order to send the email, you can use the pre-created send_mail function inside of
codinginenglish/api/services/mailjet.py
Look for other uses of
send_mail
function to see how the template is created and how it's populated before it gets sent tosend_mail
.