exceptions.SenderRefusedError

The service refused to send as the backend’s from address.

Usage

Source

exceptions.SenderRefusedError(
    message,
    /,
    *,
    backend=None,
)

The fix is an administrator’s grant, not a change to the message. “Sender” here does not mean RFC 5322’s Sender header.