wiki:Documentation/ARexxAPI/MAILCOPY

Version 5 (modified by damato, 6 months ago) (diff)

--

Languages:

MAILCOPY

NAME
MailCopy -- Copy the selected messages. (V2.0)
TEMPLATE
FOLDER/A
FUNCTION
Copies the selected messages to the specified folder.
INPUTS
FOLDER/A - name or number of the destination folder; the folder at the top is at position 0
RETURNS
RC is set to 10 if the specified folder doesn't exist.
NOTES
Except for the filenames, the copies are identical to the originals.

The command doesn't mind the type of folder, i.e. it will copy an outgoing email to the "Incoming" folder if instructed to do so.

EXAMPLE
/* Copy the selected messages to a custom folder */
MAILCOPY Archived
BUGS
SEE ALSO