Backends

Wailer comes with its own backends for email and SMS sending (based of course on external services).

This ensures:

  • No extra library is depended upon

  • All requests have proper timeouts (aka not made with requests)

  • Everything is maintained at each release

Emails

Mailjet

In order to use Mailjet, you need to set the following Django settings:

  • EMAIL_BACKEND — Must be set to "wailer.backends.MailjetEmailBackend"

  • MAILJET_API_KEY_PUBLIC — Contains the public API key

  • MAILJET_API_KEY_PRIVATE — Contains the private API key

Mandrill

An Mandrill backend is also available.

  • EMAIL_BACKEND — Must be set to "wailer.backends.MandrillEmailBackend"

  • MANDRILL_API_KEY — Contains the API key

SMS

Mailjet

Uses the Mailjet SMS service. Once it’s configured and paid for, you can set the following settings:

  • SMS_BACKEND — Must be set to "wailer.backends.MailjetSmsBackend"

  • MAILJET_API_TOKEN — Is the API Token that you get from the Mailjet console