GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - itsallaboutpython/How-To-Send-Email-In-Python-Using-Smtplib-Tutorial: Demo code for All About Python's video on "How To Send Email In Python"

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
html mail.py
html mail.py
 
 
mail.html
mail.html
 
 
text mail.py
text mail.py
 
 

Repository files navigation

How To Send Email In Python Using Smtplib Tutorial

Demo script to send email in python using smtplib package

ADD VIDEO LINK

Installation

Open terminal and type the following command

git clone https://github.com/visheshdvivedi/How-To-Send-Email-In-Python-Using-Smtplib-Tutorial

Usage

Open text_mail.py and html_mail.py and change the following values:

  • FROM_EMAIL: the email address of the email account used to send the mail
  • TO_EMAIL: the email address to send the mail to For text_mail.py script, change the following:
  • MESSAGE: the plain text message to send through email For html_mail.py script, change the following:
  • mail.html: the HTML mail content to send through mail Once done, run the script through the following commands
python text_mail.py

or

python html_mail.py

To know how the script works, check out my blog: Click here

To get more info, check out my

  • Youtube: Click here
  • Instagram: Click here
  • Blog-site: Click here

About

Demo code for All About Python's video on "How To Send Email In Python"

Resources

Readme
Activity

Stars

5 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.