The classic email sending library for Python.
Project description
PyMailers
The classic email sending library for Python.
Installation
Start to do the installation.
pip install pymailers
Example
A simple example is just sending an email message with PyMailer, in display you can replace it with false then it will not get any logs but if it is made true then you will get a log after sending the email message.
from pymailers.PyMailer import PyMailer
pymailer = PyMailer({
'smtp_host': 'smtp.gmail.com',
'smtp_port': 587,
'email': 'xxxxx@gmail.com',
'password': 'xxxxxxxxxx',
'to': 'xxxxx@gmail.com',
'subject': 'Hello World',
'body': '<p>Hi im Rio</p>',
'display': True
})
pymailer.send()
Donate
Help me to buy a laptop because my laptop is broken and I don't have a laptop, I only use an Android phone to make works like this even though it's difficult, your help and donations are a great encouragement for me to continue working.
Link : Donate
Contact me
Contact me via email: rioagungpurnomo.ak@gmail.com, I'm waiting for your input or suggestions.
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
Built Distribution
Hashes for pymailers-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b196efb828d93b89c59b7878f4d623519c34087ae99e71b735f5c90a54b588 |
|
MD5 | 11cd514355bfc1100150a959c8f5d1d1 |
|
BLAKE2b-256 | ebd1d823b7654160eb67ba0c92f6565936d29d9bd46cdc2d36c8c5165b289c28 |