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
Paypal : Support me
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
pymailers-1.1.7.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for pymailers-1.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e255a05749712c5effe769647c5411b03a8c4c1c65a3a6387c3a440eb96c631c |
|
MD5 | c779a689afdfef5e3d93b59921b58591 |
|
BLAKE2b-256 | 5ca34b1e8a6c203479906409c810b37844e29474eb566db323ca5518759667e3 |