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 details)

Uploaded Source

Built Distribution

pyApp_SMTP-1.0b1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pyApp-SMTP-1.0b1.tar.gz.

File metadata

  • Download URL: pyApp-SMTP-1.0b1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.5 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.0

File hashes

Hashes for pyApp-SMTP-1.0b1.tar.gz
Algorithm Hash digest
SHA256 e2743dcaf8f230b413acfaad15bf4ee49db617397231ec512189ac01cc8af4ac
MD5 3e158ac653cfb287bafe54fc74e1084f
BLAKE2b-256 f7a7ad6a9d8456d038f3c14ab9adee6e64a266c65f78e192f453847c4297217d

See more details on using hashes here.

File details

Details for the file pyApp_SMTP-1.0b1-py3-none-any.whl.

File metadata

  • Download URL: pyApp_SMTP-1.0b1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.5 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.0

File hashes

Hashes for pyApp_SMTP-1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 66657cfdc5f96c85952a35b7eb6ef9e0dfcee8f7694ef9667a5b733192687de9
MD5 b753e04c83b0a7944673ed350f8aab7d
BLAKE2b-256 3a68431363bc1e3e091e650eac3b7bf5ca73d8a945de4b0a9163fa6cea4bb4ad

See more details on using hashes here.

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