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.
Release files for mailez 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mailez-1.0.5.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mailez-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / mailez-1.0.5.tar.gz
| Download URL | mailez-1.0.5.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4e1f2f6fe479570d3be3a89d68ff9ba184674e5aefb4052c442a0f1babee3fe
|
|
BLAKE2b-256 checksum How to use checksums |
3544582b998a18340b010fbe2a1df512ad23c7959c742b6ea768af264c9db445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / mailez-1.0.5-py3-none-any.whl
| Download URL | mailez-1.0.5-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
205a06ca287eeed71698723faecdfea345f30e5da93bae31d7d6689cb7b5ed56
|
|
BLAKE2b-256 checksum How to use checksums |
3eac2bb5988e8312544a116bf4e6172134f19e073fb7db853766ec120a103908
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|