本人已经离开果库。因此,本项目 fork 到我自己的 github 仓库进行维护。
git clone https://github.com/edison7500/django-sendcloud.git
python setup.py install
# mail config
EMAIL_BACKEND = 'sendcloud.backend.SendCloudBackend'
DEFAULT_FROM_EMAIL = "[email protected]"
SEND_CLOUD_KEY = {
"spark_key": {
"APP_USER": "replace_me",
"APP_KEY": "replace_me",
},
"batch_key": {
"APP_USER": "replace_me",
"APP_KEY": "replace_me",
}
}
- 查询列表成员
python manage.py sc_members -l -L [email protected]
- 添加列表成员
python manage.py sc_members -a -L [email protected] -m [email protected]
- 修改列表成员
python manage.py sc_members -u -L [email protected] -m [email protected] -n [email protected]
- 删除列表成员
python manage.py sc_members -d -L [email protected] -m [email protected]