Skip to main content

提供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`

Metadata

Release files for django-sendcloud2 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-sendcloud2 0.2.1
File Size Uploaded Provenance Actions
django-sendcloud2-0.2.1.tar.gz 3.6 kB Without provenance Details for django-sendcloud2-0.2.1.tar.gz

Release files / django-sendcloud2-0.2.1.tar.gz

Download URL django-sendcloud2-0.2.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0f7ce2bcf150d939b8a6d4c85458f4f29c0044a50aaf52851d14a90eb84d94ee
BLAKE2b-256 checksum
How to use checksums
08b4be55bcf35f45517fd5c2066b6fbbbf15876ac7fe2bb349119cdd9bf6ad14
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for django-sendcloud2 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page