exceptions.RecipientsRefusedError
The service refused every recipient, so nothing was submitted.
Usage
exceptions.RecipientsRefusedError(
message,
/,
*,
refused,
backend=None,
)Only Connection.send raises it, so its __cause__ is None. When the service refuses only some recipients, the send returns them in SendResult.refused instead.
Attributes
refused: Mapping[str, Refusal]- Each recipient’s refusal, keyed by the caller’s recipient string.