Skip to content

message:set_sender(ENVELOPE)

Since: Version 2023.08.22-4d895015

The functionality described in this section requires version 2023.08.22-4d895015 of KumoMTA, or a more recent version.

Sets the envelope sender of the message. The value can be an EnvelopeAddress or a string that can be parsed into an EnvelopeAddress.

message:set_sender(string.format('bounce-%s@%s', HASH, DOMAIN))

See also message:set_recipient.