the free and simple mass emailing system
Project description
AshMail v2.1.2
The free and simple mass emailing system
Usage
Files needed
config.yml
- the configuration filecontent.html
- the html content of the email with variables inside squiggled bracketsrecievers.csv
- a file with names and emails
Note: all of these files with some example data can be found in the _tests_/
directory
Data required in files
config.yml
content
: name of the html file with the content to send in the emailrecivers
: name of the csv file with data with names and emailsfrom
: the address to send the email frompassword
: the password of the aforementioned emailsubject
: the subject of the email
content.html
An html file with content. Variables can be inside double squiggled brackets:
<h1 style = "color: red;">Hello {{ name }}</h1>
<h3 style = "color: blue;">Nice email! {{ email }} looks so professional</h3>
recievers.csv
A csv file with names and their corrosponding emails
name,email
Mr. Example,example@example.com
Running AshMail
If this is the first time running AshMail on your computer
- Install the library with
pip3 install ashmail
. The PyPI page is here
Continued from last steps or already installed AshMail
ashmail <configuration>
where<configuration>
is the filename of the configuration yaml file- Note: make sure all the files described above are in the same directory before running the script.
Important Notes
- AshMail currently only works with Gmail based accounts
- Turn on Less Secure Apps on your email before using the app, or if you have two factor authentication on, create an App Password and use that in the configuration file.
Copyright © 2021 Aarush Gupta
This code is copyrighted but licensed to the public under the GNU AGPLv3 license and any later versions.
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
ashmail-2.1.2.tar.gz
(3.9 kB
view details)
Built Distribution
ashmail-2.1.2-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file ashmail-2.1.2.tar.gz
.
File metadata
- Download URL: ashmail-2.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86172498003c5892d6910fe159d64390775ff668716c14de1ee080000f772cdb |
|
MD5 | 2141390e2bea5f41c57899693e98004e |
|
BLAKE2b-256 | e3348543338760630cdf448ac4967f838e926ad5bd97f0559be7113f56f270a3 |
File details
Details for the file ashmail-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: ashmail-2.1.2-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0efffe69c51d61c1712eecf44b3a3cbff3574b3ae41bcdd94ba6dcbab6969009 |
|
MD5 | 49090cd32dcbbf2cf1c3c62f72d7bd71 |
|
BLAKE2b-256 | 7a68d64532ec53a6327d77bb4c8ebae2d174ee06921cdb3ab2d0627657d6097e |