Envelope modification functions set sender and add or delete recipient addresses from the message envelope. This allows MFL scripts to redirect messages to another addresses.
Sets envelope sender address to email, which must be a valid email address. Optional args supply arguments to ESMTP ‘MAIL FROM’ command.
Add the e-mail address to the envelope.
Remove address from the envelope.
The following example code uses these functions to implement a simple alias-like capability:
prog envrcpt do string alias dbget(aliasdb, $1, "NULL", 1) if alias != "NULL" rcpt_delete($1) rcpt_add(alias) fi done
This document was generated on August 13, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.