Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Py-Contributors/PyEmailer
Send Emails In One Click With Python.
https://github.com/Py-Contributors/PyEmailer
automation codeperfectplus email-sender emaillist hacktoberfest python python-automation python3 regular-expression regular-expressions smtp-server smtplib
Last synced: 3 months ago
JSON representation
Send Emails In One Click With Python.
- Host: GitHub
- URL: https://github.com/Py-Contributors/PyEmailer
- Owner: Py-Contributors
- License: mit
- Created: 2020-06-11T06:31:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T14:29:22.000Z (9 months ago)
- Last Synced: 2024-06-28T06:42:39.271Z (5 months ago)
- Topics: automation, codeperfectplus, email-sender, emaillist, hacktoberfest, python, python-automation, python3, regular-expression, regular-expressions, smtp-server, smtplib
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 33
- Watchers: 6
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![header](https://capsule-render.vercel.app/api?type=wave&color=gradient&height=300§ion=header&text=PyEmailer&fontSize=50)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-360/)
![issues](https://img.shields.io/github/issues/codePerfectPlus/PyEmailer?style=plastic)
![forks](https://img.shields.io/github/forks/codePerfectPlus/PyEmailer)
![stars](https://img.shields.io/github/stars/codePerfectPlus/PyEmailer)
![License](https://img.shields.io/github/license/codePerfectPlus/PyEmailer)![Visitor Count](https://profile-counter.glitch.me/PyEmailer/count.svg)
**Blog On Python, Machine Learning and Data Science Visit [CodePerfectPLus](http://codeperfectplus.herokuapp.com/)**
## Create App Password in gmail.
- GO to Account [setting/Security](https://myaccount.google.com/security)
- click app password
- Select APP -> others, Select Device -> Others
- Copy paste the code in script.py `password` variable## Usage
```bash
git clone https://github.com/codePerfectPlus/PyEmailer
cd PyEmailer
``````python
from src.send_email import PyEmaileryour_email_id = "your_email_id"
your_app_password = "your_app_password"
email_subject = "email_subject_here"
email_content = "Email Content can be html too
"
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
- Project: PyEmailer
- Author: CodePerfectPlus
- Language: Python
- Github: https://github.com/codePerfectPlus
- Website: http://codeperfectplus.herokuapp.com/