info.mailtraq.com > Management > Script Functions A-Z > MsgSetSender() MsgSetSender()Sets the sender routing field (return path address) of the current message. Note, this is a message transport field and may not always be related directly to the addresses in the From: or Sender: header fields of a message.
MsgSetSender( sender )
- sender
- The address to be placed in the message envelope return path
// Sets the return path to postmaster@example.com
MsgSetSender("postmaster@example.com") |