dsmemail-0.0.3
توضیحات
A simple way to send email. for dsm
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dsmemail-0.0.3 |
| نام | dsmemail |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | DigitalStoreMesh Co.,Ltd |
| ایمیل نویسنده | contact@storemesh.com |
| آدرس صفحه اصلی | https://gitlab.com/public-project2/dsm-email |
| آدرس اینترنتی | https://pypi.org/project/dsmemail/ |
| مجوز | MIT License |
# DSM Email
## install
```
pip install dsmemail
```
## how to use
1. set env
```
DSM_EMAIL_URI=<DSM_EMAIL_URI>
DSM_EMAIL_APIKEY=<DSM_EMAIL_APIKEY>
```
2. send email
```python
import dsmemail
status, msg = dsmemail.sendEmail(
subject="test",
message="helloworld",
emails=["admin@admin.com"]
)
print(status, msg)
```
output
```
(True, 'email send sucess')
```
#
status
```
True = send email sucess
False = send email fail
```
msg
```
string describe status
```
نحوه نصب
نصب پکیج whl dsmemail-0.0.3:
pip install dsmemail-0.0.3.whl
نصب پکیج tar.gz dsmemail-0.0.3:
pip install dsmemail-0.0.3.tar.gz