sends bulk automated emails
Project description
Automail
Automail is a python package for making bulk mailing easy.
Automail comes with a bunch of functions:
csv_list : The function returns a list of list containing the receipent name and email. the function has only one arguement 'csv_file' which is the reference to the csv file containing receipent details.
Usage:
from Automail import csv_list
myvar = csv_list('location to the csv file')
*Replace Column name as per your csv*
output:
Please enter the column name with receiver names: Column name
Please enter the column name with receiver email-id: Column name
send_email : This function is responsible for structuring the email and sending it to the respective receipents the function include following arguements.
subject: str argument for adding subject to email.
body: This function argument is responsible for creating the body of the email it supports HTML and Text format,
for case where you need to add name of the recepient use {name} the function will autoreplace it with the recepient name.
attachment: This function argument is responsbile for providing the reference of the attachment file location.
receivers : This function argument is list of list created using the csv_list().
usage:
from Automail import csv_list,send_email
subject = 'This is the email subject'
body = 'This is the email body'
attachment = 'location of attachment file'
receivers = csv_list('location to the csv file')
send_email(subject, body, attachment, receivers)
output:
Please enter your email address: xzy@gmail.com
Please enter your password: .......
(Input for password field won't be displayed)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Automail-0.0.2.tar.gz
(18.7 kB
view details)
Built Distribution
Automail-0.0.2-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file Automail-0.0.2.tar.gz
.
File metadata
- Download URL: Automail-0.0.2.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270eae326f375a2e5e31a6ced887bb74def1aa17e09522a7e5a1f5803c10a346 |
|
MD5 | f88d7989770ff400e2745c25fb194b1b |
|
BLAKE2b-256 | 9ef4b0e619c1dd028f6ef90211d30cd5f590661a52f1975dd457cdd475233383 |
File details
Details for the file Automail-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: Automail-0.0.2-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f67999a0f89891a7fdc373e36c9433f30e9badd266557f7b4ba93b1f995ffa6 |
|
MD5 | 5daf1cc6e40bfee09c7c3cef2da8b6f9 |
|
BLAKE2b-256 | b2626aa87da44a0e7e4f7f8549a4a87c14de47d4c9c35b4c0feda5bdcf758a66 |