dsc-mailer-1.0.1
توضیحات
A simple mailing library for python powered applications using Sendgrid.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dsc-mailer-1.0.1 |
| نام | dsc-mailer |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Victor Waichigo |
| ایمیل نویسنده | waichigovick@gmail.com |
| آدرس صفحه اصلی | https://github.com/jkuatdsc/dsc-mailer |
| آدرس اینترنتی | https://pypi.org/project/dsc-mailer/ |
| مجوز | MIT |
# dsc-mailer
A simple mailing library for python powered applications using Sendgrid.
<img src="https://github.com/jkuatdsc/dsc-mailer/blob/master/assets/dsc_mailer.png?raw=true" width="1000">
## 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)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | python-decouple |
| - | sendgrid |
نحوه نصب
نصب پکیج whl dsc-mailer-1.0.1:
pip install dsc-mailer-1.0.1.whl
نصب پکیج tar.gz dsc-mailer-1.0.1:
pip install dsc-mailer-1.0.1.tar.gz