-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Milestone
Description
Django's built-in email backend class names are all EmailBackend; the type of backend is indicated by the module:
- django.core.mail.backends.smtp.EmailBackend
- django.core.mail.backends.console.EmailBackend
- django.core.mail.backends.filebased.EmailBackend
- django.core.mail.backends.locmem.EmailBackend
- django.core.mail.backends.dummy.EmailBackend
Before 1.0-alpha, Anymail should change to follow Django's naming convention:
- anymail.backends.mailgun.MailgunBackend → anymail.backends.mailgun.EmailBackend
- anymail.backends.mandrill. MandrillBackend → anymail.backends.mandrill.EmailBackend
- anymail.backends.postmark.PostmarkBackend → anymail.backends.postmark.EmailBackend
- anymail.backends.sendgrid.SendGridBackend → anymail.backends.sendgrid.EmailBackend
- anymail.backends.sparkpost.SparkPostBackend → anymail.backends.sparkpost.EmailBackend
To avoid breaking code, the current names should still be supported with a deprecation warning.
(As an additional benefit, this would eliminate the need for admonishments throughout the docs on how to properly capitalize each ESP's name.)