Errors

send_rejected

502: Message refused.

Message refused. Answered with 502.

What it means

The mail server took the message and refused it on its own account (mailbox full, message too large, relay denied) or refused the submitting sender. Nothing was sent.

What to do

Read the detail: it is the mail server's own reason. Retrying unchanged is unlikely to help.

The body

{
  "type": "https://tigby.eu/problems/send_rejected",
  "title": "Message refused",
  "status": 502,
  "detail": "…what was refused, naming this request's own values",
  "code": "send_rejected",
  "doc_url": "https://docs.tigby.eu/errors/send_rejected",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.