wiki:Documentation/ARexxAPI/MAILFORWARD

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

--

Languages:

MAILFORWARD

NAME
MailForward -- Open a new Write window to forward the selected messages.
TEMPLATE
VAR/K,STEM/K,QUIET/S
FUNCTION
Opens a new Write window to forward the selected messages.
INPUTS
VAR/K - alternative variable to put the results into instead of RESULT (V2.0)
STEM/K - base name used for the stem where the number of the created window will be stored (V2.0)
QUIET/S - force the window to stay invisible (V2.1)
RETURNS
VAR - info returned by the command
<STEM>WINDOW - number of the created window

RC is set to 10 if the window cannot be opened, maybe because the limit of two Write windows has been reached.

NOTES
EXAMPLE
/* Silently forward the selected messages */
MAILFORWARD QUIET
WRITETO 'joe@example.com'
WRITESEND
BUGS
SEE ALSO