Skip to content

angee.messaging.email

Vendor-neutral outbound email delivery through django-anymail.

AnymailEmailChannelBackend

python
class AnymailEmailChannelBackend(ChannelBackend)

Send an email channel's outbound messages through Django's Anymail backend.

The deployment selects the concrete ESP with EMAIL_BACKEND and supplies its vendor settings through ANYMAIL/ANYMAIL_*. This adapter remains provider-neutral and also works with Anymail's deterministic test backend.

fetch_messages

python
def fetch_messages() -> list[ParsedMessage]

Return no messages; an outbound-only email channel has no poll source.

deliver

python
def deliver(message: Any) -> bool

Render and send message when an email transport is configured.

email_message

python
def email_message(message: Any) -> AnymailMessage

Render a messaging Message into Anymail's provider-neutral message.

Released under the AGPL-3.0 License.