This POC is an example of sending mail with an html page to look very attractive. I used send_mail() function which is build in by Django.
You will need the following programmes properly installed on your computer.
Python 3.7+
clone the repository
git clone https://github.com/ongraphpythondev/sending_mail_with_html.git
cd sending_mail_with_html
create a vertual environment
python3 -m venv .venv
.venv/bin/activate.bat
install required packages
pip install -r requirements.txt
running
python manage.py runserver
- Sending mail
- Add email cridential in setting to send mail.