Next: Header modification functions, Previous: Email processing functions, Up: Library [Contents][Index]
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