Mailtraq - the Complete Email Server
   

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

SelectOutMessage()

Changes the message context from the trigger message to the output message.

In a script, the initial message context is always the trigger message, i.e., the message which triggered the script, but in a template, the initial message context is always the output message, i.e. the message being produced by the template. The SelectInMessage() and SelectOutMessage() functions, therefore, are useful only in templates for switching context between the trigger message and the output message.

For example, if a template trigger message has the Subject: header "*SUBSCRIBE" and the template output message has the Subject: header "Subscription Confirmation {abcd}", The expression SelectInMessage(); Header("Subject") returns "*SUBSCRIBE" and the expression SelectOutMessage(); Header("Subject") returns "Subscription Confirmation {abcd}".

SelectOutMessage()

No arguments

Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video

 

   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.