Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

CloseFile()

Closes a file previously opened with OpenFile(), AppendFile() or CreateFile(). Once a file handle has been closed, the handle no longer has any meaning and should no longer be used. Mailtraq automatically closes any open files at the end of each script however it is good practice to explicitly close all opened files. Also, when a file is open, it cannot be deleted or emptied using CreateFile().

CloseFile( handle )

handle
The file identifier returned by a call to OpenFile(), AppendFile() or CreateFile()
//Example usage 
myfile:= CreateFile("d:\internet\resource\sig-john.txt");
Write(myfile, "\n-- \nJohn Smith");
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.