Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

SetHeader()

Sets the specified header field of the current message to the given value. In cases where the specified field occurs more than once, only the first instance of the field is changed. Note that the field separator used in headers, ":" (ASCII 58) a colon, must not be quoted when referring to header names.

SetHeader( field , value )

field
The field name to modify in the message header as a string
value
The string contents to assign to the specified field
// Set the From header of the current message
If(UserOf(Header("To")) = "webmaster",
  SetHeader("From", AddressOf("webmaster"),
  SetHeader("From", AddressOf("postmaster")
)
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.