Docs » Autodocs » aml.library » WriteFolderSpool
WriteFolderSpool -- Writes the folder to a UNIX style spool
count = WriteFolderSpool(folder, exportfile, flags) D0 A0 A1 D0 ULONG WriteFolderSpool(APTR folder, STRPTR exportfile, ULONG flags);
Writes the contents of the specified folder out to a UNIX-style mailbox format spool. Each article is prepended with a "From " line that allows another mail parser to detect the beginning of each article.
folder - Pointer to a folder object exportfile - Filename of the spoolfile to create flags - See <libraries/aml.h> for valid flags.
count - The number of articles written to the spool file.
ReadFolderSpool()
|