|Version 2 (modified by AmigaPhil, 13 months ago) (diff)|
MailBounce -- Open a new Write window to bounce the current message. (V2.0)
Opens a cut-down Write window to bounce the current message to another recipient.
VAR/K - alternative variable to store the number of the created window instead of RESULT
STEM/K - base name used for the stem where the returned data will be stored
QUIET/S - force the window to stay invisible (V2.1)
<STEM>WINDOW - number of the created window if the command had success; may be 0 or 1 (or 2, if QUIET is enabled)
RC is set to 10 if the window cannot be opened, maybe because the limit of two Write windows has been reached.
In the outgoing message, only the "To:" field can be edited.
/* Silently bounce the current message */
WRITETO 'joe@…' 'mars'