Skip to content
How to Send Email With Attachments in Django
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
django_email
emailattachment
.gitignore
README.md
manage.py
requirements.txt

README.md

How to Send Email With Attachments in Django

Tutorial Link - http://studygyaan.com/django/how-to-send-email-with-attachments-in-django

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

Setup

  1. Create a folder and put all the files inside it.
  2. Create a virtual environtment - virtualenv env
  3. Activate VirtualENV - source env/bin/activate
  4. Run requirements.txt - pip3 install -r requirements.txt
  5. Run the Application - python3 manage.py runserver
  6. Go to - http://localhost:8000/

Make Sure You Change your Email Host Password in Settings.py file.

You can’t perform that action at this time.