Skip to main content

sendcloud2 for django

Project description

提供django下sendcloud接口,支持python2/3,支持replyto

Quick start

  1. Install:

    pip install django_sendcloud2
    
  2. 配置,在settings.py中:

    EMAIL_BACKEND = 'sendcloud.SendCloudBackend'
    SENDCLOUD = {
        'email': {
            'api_user': '',
            'api_key': '',
        },
        'sms': {
            'sms_user': '',
            'sms_key': '',
            'muted': True
        },
    }
    
  3. 按照正常django方式发送邮件即可, 发送sms用`sms.send`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-sendcloud2, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size django-sendcloud2-0.2.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page