Skip to main content

Django email backend for Scaleway Transactional Email service

Project description

Django Scaleway Email

A small Django package that allows you to use Scaleway's transactional email API.

Requirements

To use this backend, you need an account with Scaleway and follow their setup guide for the transactional email service.

You can then create an IAM Application and generate a new API key for it. Ensure the application has the TransactionalEmailEmailFullAccess permission.

Installation

  1. Install the package with your package manager of choice:

    pip install django-scaleway-email
    
  2. Set your EMAIL_BACKEND and configure your secrets:

    EMAIL_BACKEND = "django_scaleway_email.backend.EmailBackend"
    SCALEWAY_EMAIL_PROJECT_ID = "your-project-id"
    SCALEWAY_EMAIL_API_KEY = "your-api-key"
    
  3. Done! You can now use django.core.mail.send_mail etc. to send emails!

Limitations

Scaleway imposes a few limitations on emails. Here's a short summary:

  • Max. 3 recipients per email
  • Max. 2 attachments
  • Max. total email size is 2 MB
  • Only PDF, images and plaintext attachments allowed

Project details


Download files

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

Source Distribution

django_scaleway_email-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_scaleway_email-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file django_scaleway_email-0.1.1.tar.gz.

File metadata

  • Download URL: django_scaleway_email-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.5 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for django_scaleway_email-0.1.1.tar.gz
Algorithm Hash digest
SHA256 485863c17c8a5f76b7a47342158d6989e5540c3f1cbeb6d1801ada906929cc08
MD5 a2fa43052286ccfbdce8775c952e977d
BLAKE2b-256 200997b1727b8be83c27bea1ae64d8e1141c7cd357549f95166ec5fc5265e5b4

See more details on using hashes here.

File details

Details for the file django_scaleway_email-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: django_scaleway_email-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.5 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for django_scaleway_email-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e61dd1c8d43f2879213f6ab93428383493951f42d3c493f18f225d8d2565924e
MD5 a77d67ce70ff193af1f2dd4d87b9bbaa
BLAKE2b-256 97290293f953012fe64761446aaa6bd8365a0e76152ea35cced668d9083dc176

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page