Skip to content

edison7500/django-sendcloud

 
 

Repository files navigation

Django SendCloud

GitHub license Code Style GitHub issues GitHub forks GitHub stars Twitter


本人已经离开果库。因此,本项目 fork 到我自己的 github 仓库进行维护。

Install

git clone https://github.com/edison7500/django-sendcloud.git
python setup.py install

在 Django 的 settings.py 加入

# mail config
EMAIL_BACKEND = 'sendcloud.backend.SendCloudBackend'
DEFAULT_FROM_EMAIL = "noreply@example.com"

SEND_CLOUD_KEY = {
    "spark_key": {
        "APP_USER": "replace_me",
        "APP_KEY": "replace_me",
    },
    "batch_key": {
        "APP_USER": "replace_me",
        "APP_KEY": "replace_me",
    }
}

CLI Dashboard


地址列表

  • 查询列表成员
python manage.py sc_members -l -L xxxxx@maillist.sendcloud.org
  • 添加列表成员
python manage.py sc_members -a -L  xxxxx@maillist.sendcloud.org -m xxxx@example.com
  • 修改列表成员
python manage.py sc_members -u -L xxxxx@maillist.sendcloud.org -m xxxx@example.com -n yyyy@example.com
  • 删除列表成员
python manage.py sc_members -d -L xxxxx@maillist.sendcloud.org -m xxxx@example.com

About

send cloud django 插件

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 78.4%
  • HTML 21.6%