Skip to main content

SMTP Extension for pyApp

Project description

Let us handle the boring stuff!

Once you go Black...

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",
    }
}

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.

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

pyApp-SMTP-1.0b1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pyApp_SMTP-1.0b1-py3-none-any.whl (4.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