Send personalised mails from your domain-email to n-number of people from your terminal.
- 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).
- The
-
smtp_mailer basically needs a input source from where it can read the email address (which of course has video lectures).
-
Make a virtual environment for this project on your local machine and download
smtplib
usingpip install smtplib
orpip3 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
andbody
of the e-mail. You can decorate it usingHTML
tags. -
Enter the location of the
.csv
file and configure theline
androw
as per your needs. -
Run
python smtp_mailer.py
orpython3 smtp_mailer.py
in case you have more than one versions of python installed on your system. -
Voila! Mails must have triggered by now.
-
If you want to contribute to this project, feel free to fork it and send a PR :)
-
smtp_mailer 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
andpassword
-
Remove the dependency on cpanel credentials.
-
Add the reciever end using POP3 client.
Shoot a mail at [email protected]