Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

GetDirField()

Returns the value of a field in the directory record for a given file. The field must be one of those described below, some of which are applicable to certain file types only. Also, some are only available to files held in the Mailtraq database. This function is the equivalent of the GetFieldOfDirectory() function.

value := GetDirField( path , filename , field )

path
The full path of the directory which may also be relative to the database directory
filename
The filename in the specified directory
field
The name of the field in filename to examine
Field Type Applicable Directories Description
size Integer Any Directory The file size in bytes
date DateTime Any Directory The file creation date
subject String Any Indexed Directory The subject line from the message
to String Any Indexed Directory The addresee of the message
from String Any Indexed Directory The sender of the message
serial String Any Indexed Directory The unique serial number of the file
pop3_erased Boolean POP3 Collection Flag indicating if the message was erased
pop3_delete Boolean POP3 Collection Flag indicating if the message is marked for deletion
pop3_fetched Boolean POP3 Collection Flag indicating if the message was downloaded
pop3_download Boolean POP3 Collection Flag indicating if the message is marked for download
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.