A simple mailing library for python powered applications using Sendgrid.
Project description
dsc-mailer
A simple mailing library for python powered applications using Sendgrid.
Installation
To install the library using pip, run;
pip install dsc-mailer
Required parameters
The library has one module for sending emails mailer
the mailer module contains a send_mail function that expects five parameters
-
Sender
-
Receiver
-
Email Subject
-
Html Content
-
Sendgrid Api_key
Example Usage
from dscmailer import mailer
my_email = mailer.send_mail(sender, receiver, subject, html_content, api_key)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dsc-mailer-1.0.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for dsc_mailer-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7476ab3b5e74b9053b0110eb0ccc8ccaa0816d2190b9b3862c23338775ff5e4d |
|
MD5 | d8f342afde2b6806b043544d3930aa6d |
|
BLAKE2b-256 | af05b008b36d9567c0b3839d3754762631b39f3d13392b76e010fdc1e9f554c8 |