Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

AppendFile()

Opens a file for writing. If the specified file exists, the file pointer is positioned at the end of the current content. If the specified file doesn't exist, it is created. Although Mailtraq closes any files which are open when a script terminates, file handles should be released explicitly by the script using the CloseFile() function.

handle := AppendFile( path )

path
Identifies the file to be created by its filing system name. If no path is quoted Mailtraq assumes the folder \database
handle
The handle is used in subsequent references to the opened file. The handle is null if the specified file cannot be opened.
//Example of usage

myfile:= AppendFile("d:\internet\resource\sig-joe.txt");
Write(myfile, "\n-- \nMailtraq Website http://www.fastraq.co.uk ");
CloseFile(myfile)
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.