edison7500 / django-sendcloud

send cloud django 插件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 插件

License:MIT License


Languages

Language:Python 78.4%Language:HTML 21.6%