Skip to main content

Mass mail sender with custom tweaks

Project description

A package to make sending mails to multiple people while adding their names to each message automaticly easy. I tested it with Gmail but it might work with some other e-mail service providers. Usage:

from mailez import functions as mz
my_gmail_address = "supercoolemailofsupercoolperson@gmail.com"
my_password = "heyheyheyiamverycool12345"
my_subject = "Asking How The Recipient Is Feeling At The Moment"
my_csv_path = "path/to/csv/file.csv"
my_message = "Dear {name},\nHow are you?"
obj = mz.Mail(my_gmail_address, my_password, my_subject, my_csv_path, my_message)
obj.Send()

The format for CSV file is given below:

email,name
supercoolguy@coolmail.com,Jake Peralta
anothersupercoolguy@mail.com,Joey Tribbiani
supercoolbusinessmail@coolbusiness.com,CoolBusiness LTD.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mailez-1.0.5.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

mailez-1.0.5-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page