Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

MsgSetRcpts()

Replaces the recipient(s) of the current message envelope a supplied list of recipient(s), given as a comma separated string.

MsgSetRcpts( rcptlist )

rcptlist
A comma separated list of recipient(s)

Add two recipients to a message

MsgSetRcpts(MsgGetRcpts() ++ "," ++ 
  "fred@example.com, bill@example.com")

Notes

Comma separated lists with elements surrounded by quote marks, e.g. "address_one","address_two", are not recognised by this function therefore lists in the standard Mailtraq list format, "address_one,address_two" must be used.

This function operates prior to and in the inbound router in Mailtraq only. That is, the recipients of a message can be modified in a script triggered on Inbound Mail Delivery or on Mail Routing but not on Outbound Mail Delivery, because the message recipients are fixed by that stage in the routing process.

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.