kountable / Bot

0 stars 1 forks source link

Send Email Functionality #15

Open Awinja-j opened 4 years ago

Awinja-j commented 4 years ago

Background:

Users can request to be contacted on a later time by a sales person. User will be presented with a form that they can fill out and the details of this form will be sent to the database + sent as an email to the help email.

To Do:

Create Email.py create a gmail email address that can be used to send the emails https://developers.google.com/gmail/api/guides/sending

create a function email that takes in a variable called message. and returns any of the HTTP status according to the what has occurred

https://www.freecodecamp.org/news/send-emails-using-code-4fcea9df63f/