Skip to content

pyapp-org/pyapp.aiosmtplib

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pyApp - aioSMTPlib

Let us handle the boring stuff!

Once you go Black... Maintainability Test Coverage

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

Installation

Install with pip:

pip install pyApp-aiosmtplib

Add the SMTP block into your runtime settings file:

SMTPLIB = {
    "default": {
        "host": "localhost",
    }
}

Note

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

Usage

The following example creates an SMTP client instance:

from pyapp_ext.aiosmtplib import get_client

smtp = get_client()

API

pyapp_ext.aiosmtplib.get_client() -> SMTP

Get named SMTP instance.

About

πŸ“§ AIOSMTPlib pyApp extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages