Question
GMS will process a MML script when a message arrives at the server.
Answer
Yes. This may be used for such things as address re-writing in addition to changing the content of the message itself.
For example, the line:
emailTo = "another@abc.com"
would change the “To:” clause of the email message as it passes through the server. (NOTE: this would not change the destination of the message, only the message contents. In order to change the destination, use “emailRCPT”.)
Note that you will have to call MsgClose to commit any changes to the message. See the MML Programmers Guide for further information.
Keywords:SMTP, script, scripts, mml, message, email, modify, rewrite, address