Skip to content

Basic template for sending emails from python script. Ideal for ML training.

Notifications You must be signed in to change notification settings

cjjob/email_notifs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate code for email notifications from python script.

Code is taken and (marginally) added to from real-python.

Usage
  • Edit config_template.ini file.
  • Settings in '[default]' section should be left alone if gmail account being used to send e-mail.
  • Change 'email' and 'password' in ['user_info'] and rename file to config_ini!
    • config_ini file needs to exist for code to execute.
    • Do not just change the input file because then your credentials will be available on GitHub... :)
TODO
  • Add argument parsing.
  • Allow e-mail body to be read in from separate file.

About

Basic template for sending emails from python script. Ideal for ML training.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages