Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

MsgInsertLine()

Inserts a new line into the current message body at the location specified by a numerical index. Lines below the insertion point have their index increased by the number of lines inserted. Multiple lines can be inserted simultaneously using the "\n" escape.

MsgInsertLine( index , string )

index
The line position at which the string will be inserted commencing at zero.
string
The line to be inserted

Replaces a malformed signature separator

i := MsgGetLineCount();
While(i > 0,
  Do(
    If(MsgGetLine(i) = "--",
      Do(
        MsgDeleteLine(i),
        MsgInsertLine(i, "-- ")
      )
    ),
    i := i - 1
  )
)
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.