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
-
Install the package with your package manager of choice:
pip install django-scaleway-email
-
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"
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_scaleway_email-0.1.0.tar.gz
.
File metadata
- Download URL: django_scaleway_email-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.5 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e4c17f774cc7016f7b84622a261e6b1b83eed6d42a0b0c9520850e03b39f4e4 |
|
MD5 | 1fc6cbb09e87f27d459a43643aaadced |
|
BLAKE2b-256 | 9e959c6a4332b4220981d440367a4f49b4310c8b8c81acfb4df56b13038c4e4a |
File details
Details for the file django_scaleway_email-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_scaleway_email-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.5 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7c82acdb12f093b1f18daac4bc6fc08e667d1cd141ad4540b3e5ccbac75213 |
|
MD5 | 38f4afa3df949792771220601a32c571 |
|
BLAKE2b-256 | 6c3a545c2f6690fddd188817c50b930df5b8e34feda4cbe42d1a5eac5899e434 |