Skip to main content

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


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.5.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

pymailers-1.1.5-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page