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.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

django_scaleway_email-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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