spacer
   
   
Mailtraq - the Complete Email Server
   
spacer

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

spacer
spacer

GetDirectory()

Returns a list of the files in the specified directory. It is also aware of the Mailtraq database and is able to return filenames from the archive volumes which are used for mailslots and POP3 collection accounts. If a fully qualified path is specified, Mailtraq returns the file list obtained from the filing system. If a relative path is given, it is interpreted as having the location of the Mailtraq database folder, \database, as its root.

list := GetDirectory( path )

path
The relative or absolute location of the directory or mailslot file
list
A comma separated list of the filenames in the specified directory or mailslot file

These examples show the function being used with a normal filing system directory, a directory in the Mailtraq database, an archive directory and the POP3 collection directory:-

list := GetDirectory("c:\windows\temp")
list := GetDirectory("mail\outbox")
list := GetDirectory("mail\inbox\johns")
list := GetDirectory("mail\pop3\fred@pop3.example.invalid")
spacer


Download Trial
Buy now
Screenshots
Requirements
Feature Tree
FAQs
What's new
Print this page Print this Page
Mailtraq 2.12 PDF Datasheet
Send a friend an email about Mailtraq ShareMailtraq - Email Server at Delicious Mailtraq - Mail Server at digg Mailtraq - Mail Server at FacebookMailtraq - Email Server at stumbleupon Tweet about Mailtraq

 

 

   Copyright © 2003 - 2008 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.