提供django下sendcloud接口,支持python2/3,支持replyto
Quick start
Install:
pip install django_sendcloud2
配置,在settings.py中:
EMAIL_BACKEND = 'sendcloud.SendCloudBackend' SENDCLOUD = { 'email': { 'api_user': '', 'api_key': '', }, 'sms': { 'sms_user': '', 'sms_key': '', 'muted': True }, }按照正常django方式发送邮件即可, 发送sms用`sms.send`
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-sendcloud2-0.2.1.tar.gz.
File metadata
- Download URL: django-sendcloud2-0.2.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f7ce2bcf150d939b8a6d4c85458f4f29c0044a50aaf52851d14a90eb84d94ee
|
|
| MD5 |
13a5c1f6e51c38b02dc6b24de488b928
|
|
| BLAKE2b-256 |
08b4be55bcf35f45517fd5c2066b6fbbbf15876ac7fe2bb349119cdd9bf6ad14
|