Skip to content

pyapp-org/pyapp.aiosmtplib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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