Skip to content

MtaQueueRcptVariable

Variables available in expression contexts that reference MtaQueueRcptVariable.

VariableDescription
rcptRecipient address; the domain is lowercase, the local part keeps its case
rcpt_domainDomain of the recipient
recipientsList of all recipient addresses of the message
senderEnvelope sender (return path), empty for bounces
sender_domainDomain of the envelope sender, empty for bounces
priorityMessage priority (number, from -9 to 9, 0 when not set)
retry_numNumber of delivery attempts made so far for the recipient
notify_numNumber of delay notifications sent so far for the recipient
expires_inSeconds until the message expires, or remaining attempts when expiry is set by attempt count; 0 once expired
last_statusDelivery status of the recipient: Scheduled, Delivered, Temporary Failure or Permanent Failure, followed by details
last_errorType of the last error: none, dns, unexpected-reply, connection, tls, dane, mta-sts, rate, concurrency or io
queue_nameName of the queue holding the message
queue_ageSeconds since the message entered the queue
received_from_ipIP address the message was received from
received_via_portLocal port the message was received on (number)
sourceHow the message entered the queue: authenticated, dmarc_pass, unauthenticated, dsn, report, autogenerated or unknown
sizeMessage size in bytes