pyApp-SMTP 1.0b1

Creator: bradpython12

Last updated:

Add to Cart

Description:

pyAppSMTP 1.0b1

Let us handle the boring stuff!

This extension provides an SMTP client object configured via pyApp settings.

Installation
Install using pip:
pip install pyApp-SMTP
Install using pipenv:
pip install pyApp-SMTP
Add pae.smtp into the EXT list in your applications default_settings.py.
Add the SMTP block into your runtime settings file:
SMTP = {
"default": {
"host": "localhost",
}
}

Note
In addition to the host any argument that can be provided to smtplib.SMTP can be
provided.



Usage
The following example creates an SMTP client instance:
from pae.smtp import get_client

smtp = get_client()


API
pae.smtp.get_client() -> SMTP

Get named SMTP instance.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.