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)
Release files for dsc-mailer 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsc-mailer-1.0.1.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsc_mailer-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / dsc-mailer-1.0.1.tar.gz
| Download URL | dsc-mailer-1.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
587fd5b02a6917d75cc858ba356ca4f6869478fba2aff2e5d1d71711e1110fc9
|
|
BLAKE2b-256 checksum How to use checksums |
dd632b7da27e9fc12147155ae16fac22613e377ddbed7477b7f24945fd958868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
|
Release files / dsc_mailer-1.0.1-py3-none-any.whl
| Download URL | dsc_mailer-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7476ab3b5e74b9053b0110eb0ccc8ccaa0816d2190b9b3862c23338775ff5e4d
|
|
BLAKE2b-256 checksum How to use checksums |
af05b008b36d9567c0b3839d3754762631b39f3d13392b76e010fdc1e9f554c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
|