PyEmailer Save

Send Emails In One Click With Python.

Project README

header

Python 3.7 issues forks stars License

Visitor Count

Blog On Python, Machine Learning and Data Science Visit CodePerfectPLus

Create App Password in gmail.

  • GO to Account setting/Security
  • click app password
  • Select APP -> others, Select Device -> Others
  • Copy paste the code in script.py password variable

Usage

git clone https://github.com/codePerfectPlus/PyEmailer
cd PyEmailer
from src.send_email import PyEmailer

your_email_id = "your_email_id"
your_app_password = "your_app_password"
email_subject = "email_subject_here"
email_content = "<h1> Email Content can be html too</h1>"
listOfEmail = ["[email protected]", "[email protected]"]

pyemail = PyEmailer(your_email_id, your_app_password)

if __name__ == "__main__":
    pyemail.sendEmail(email_subject, email_content, listOfEmail)

Upcoming features

  • file attachment in email
  • RegEx to verify the Emails

Project

Open Source Agenda is not affiliated with "PyEmailer" Project. README Source: Py-Contributors/PyEmailer

Open Source Agenda Badge

Open Source Agenda Rating