EmailBackend
This class provides a basic implementation for handling email messages by returning the count of messages processed. It serves as a backend interface that integrates with a messaging system to facilitate the sending of email communications.
Methods
send_messages()
@classmethod
def send_messages(
email_messages: list
) - > int
Sends a list of email messages and returns the count of messages processed.
Parameters
| Name | Type | Description |
|---|---|---|
| email_messages | list | An iterable of email message instances to be dispatched through the backend. |
Returns
| Type | Description |
|---|---|
int | The total number of email message objects that were successfully processed. |