Socket
Socket
Sign inDemoInstall

pyApp-SMTP

Package Overview
Dependencies
2
Maintainers
2
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pyApp-SMTP

SMTP Extension for pyApp


Maintainers
2

Readme

############ pyApp - SMTP ############

Let us handle the boring stuff!

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: http://github.com/ambv/black :alt: 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",
    }
}

.. 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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc