Mass Mailer in Python. This script allows you to send a specified quantity of the same e-mail in an automated fashion. A number of options are supported.
Python 2.7
mailer library: https://pypi.python.org/pypi/mailer/0.7
requests library: http://docs.python-requests.org/en/latest/
MassMailer can read in the required information for sending mail from a config file (MassMailer.conf.sample is an example containing all required fields) or from the command line (run ./MassMailer.py -h to see the command line options available).
All command line arguments override their value in the config file. To specify a config file use the --config option.
As an example, this would send 100 e-mails with random content in them with 10 e-mails sent per connection:
./MassMailer.py -s smtp.gmail.com -u [email protected] \
--to [email protected] -q 100 -n 10 -z
This would send the same thing, but with all options in a config file:
./MassMailer.py --config MassMailer.conf