https://github.com/jkuatdsc/dsc-mailer
A simple mailing library for python powered applications using Sendgrid.
https://github.com/jkuatdsc/dsc-mailer
python3 sendgrid sendmail
Last synced: 25 days ago
JSON representation
A simple mailing library for python powered applications using Sendgrid.
- Host: GitHub
- URL: https://github.com/jkuatdsc/dsc-mailer
- Owner: jkuatdsc
- License: mit
- Created: 2020-02-20T05:48:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-20T13:15:33.000Z (over 6 years ago)
- Last Synced: 2025-12-16T10:32:04.770Z (6 months ago)
- Topics: python3, sendgrid, sendmail
- Language: Python
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
from dscmailer import mailer
my_email = mailer.send_mail(sender, receiver, subject, html_content, api_key)
```