Files
kumomta/docs/reference/message/recipient_list.md
T
Wez Furlong db5ebb88a7 message: expose recipient list to lua api
message:recipient() may now return an array style table
holding the recipient list, if there is more than a single
recipient on the message.

Since this can be somewhat ambiguous/frustrating to work with,
there is now also a message:recipient_list() that will always
return an array style table, even if it holds just a single
element.

The included helpers have been updated to use `message:recipient_list`.

message:set_recipient() will now optionally accept an array
style table holding the recipient list to be set.
2025-10-07 07:52:58 +01:00

295 B

recipient_list

{{since('dev')}}

message:recipient_list()

Returns an array style table holding each envelope recipient of the message. Each element of the array is an EnvelopeAddress

See also message:sender, message:recipient