|Version 1 (modified by AmigaPhil, 6 months ago) (diff)|
MailExport -- Export the selected messages to a file. (V2.0)
Exports the selected messages to a file, in a format ready to be used by any mail application which supports the MBOX format.
FILENAME/A - filename to use
ALL/S - export the whole folder
APPEND/S - append the data to an (already existing) file
QUIET/S - don't open the transfer window and export all mails silently
RC is set to 10 if no message is selected or if the output file can't be written to.
/* Export all the contents of the current folder */
MAILEXPORT 'ram:spool' ALL