Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shikharvaish28/smtp_mailer
This python script is used to send mails using an SMTP server using SSL Encryption. Though, it can be altered to use non-encrypted ports too as listed in the comments in the script
https://github.com/shikharvaish28/smtp_mailer
automatic-email-sender csv-format smtp-protocol smtplib
Last synced: 7 days ago
JSON representation
This python script is used to send mails using an SMTP server using SSL Encryption. Though, it can be altered to use non-encrypted ports too as listed in the comments in the script
- Host: GitHub
- URL: https://github.com/shikharvaish28/smtp_mailer
- Owner: shikharvaish28
- License: mit
- Created: 2018-09-26T16:52:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-19T08:10:37.000Z (about 6 years ago)
- Last Synced: 2023-03-08T22:49:28.261Z (almost 2 years ago)
- Topics: automatic-email-sender, csv-format, smtp-protocol, smtplib
- Language: Python
- Size: 8.79 KB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SMTP Mailer
Send personalised mails from your domain-email to n-number of people from your terminal.
## Features
* Intentionally detailed names, so that the user would know to whom the e-mail has been sent.
* The ```.csv``` file is read for e-mail and names of the contact. The ```.csv``` file uses it as a 2-D array.
* Can be used with ```txt``` and other file formats too(With a minor code change).
* Tested on Mac (Python 3.6).## Instructions to send mails using smtp_mailer
* [smtp_mailer][1] basically needs a input source from where it can read the email address
(which of course has video lectures).* Make a [virtual environment][3] for this project on your local machine and download ```smtplib``` using ```pip install smtplib``` or ```pip3 install smtplib``` (In case there are a number of python versions installed on your system).
* Enter the details in the attributes:
* ```SMTPserver``` : ```mail.domain.com```
* ```sender``` : ```[email protected]```
* ```USERNAME``` : ```cpanel_login```
* ```PASSWORD``` : ```cpanel_password```* Enter the ```Subject``` and ```body``` of the e-mail. You can decorate it using ```HTML``` tags.
* Enter the location of the ```.csv``` file and configure the ```line``` and ```row``` as per your needs.
* Run ```python smtp_mailer.py``` or ```python3 smtp_mailer.py``` in case you have more than one versions of python installed on your system.
* Voila! Mails must have triggered by now.
## ContributionsIf you want to contribute to this project, feel free to fork it and send a PR :)
## Coming Up
* [smtp_mailer][1] only supports its using terminal. Attempts are to make a GUI based app where you can upload the ```csv``` file and an interface to view the mails being triggered.
* A GUI method to input ```ID``` and ```password```
* Remove the dependency on cpanel credentials.
* Add the reciever end using POP3 client.
## Contact
Shoot a mail at [email protected]
## Author[Shikhar Vaish][2]
[1]: https://github.com/shikharvaish28/smtp_mailer
[2]: http://shikharvaish.me
[3]: https://www.pythonforbeginners.com/basics/how-to-use-python-virtualenv/