In this tutorial, you will learn how to send email with multiple attachments in Django. You will also learn how to send email with a single attachment. Here, I will explain how to setup your SendGrid Account for Sending Emails for your Django Application. I will also explain how to set your Email Host in the settings.py file, in your application
- Create a folder and put all the files inside it.
- Create a virtual environtment -
virtualenv env
- Activate VirtualENV -
source env/bin/activate
- Run requirements.txt -
pip3 install -r requirements.txt
- Run the Application -
python3 manage.py runserver
- Go to - http://localhost:8000/