Skip to content

shankarlmc/emailsender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sending mail using django

Setup Steps:

git clone https://github.com/shankarlmc/emailsender.git
  • setup environment
python -m venv env
# activate the environment
env\Scripts\activate
  • change the directory to emailsender
cd emailsender
  • Install the packages by using requirements.txt
pip install -r requirements.txt
  • rename the .env-sample file to .env and setup the variables like this
SECRET_KEY=from settings.py
DEBUG=True
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your_email_address
EMAIL_HOST_PASSWORD=your_email_password
  • Make migrations
python manage.py makemigrations
python manage.py migrate
  • Runserver
python manage.py runserver

Thank You!!!

About

How to Send Emails in Django ?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy