wiki:Documentation/ARexxAPI/SETMAILFILE

Version 1 (modified by AmigaPhil, 14 months ago) (diff)

--

SETMAILFILE

NAME

SetMailFile -- Set the current message in the current folder by filename. (V2.0)

TEMPLATE

MAILFILE/A

FUNCTION

Sets the current message in the current folder by filename.

INPUTS

MAILFILE/A - filename where the message is stored

RETURNS

RC is set to 5 if the supplied filename can't be found.

NOTES

Path names are stripped. For instance, if "09193.017" exists in the current folder and a bogus "foobar:bogus/09193.017" filename is supplied, the file will still be found.

EXAMPLE

BUGS

SEE ALSO

SETMAIL ?