wiki:Documentation/ARexxAPI/MAILFORWARD

Version 3 (modified by AmigaPhil, 6 months ago) (diff)

--

Languages:


ARexx API

    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, 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.

    NOTES

    EXAMPLE

    /* Silently forward the selected messages */

    MAILFORWARD QUIET
    WRITETO 'joe@…'
    WRITESEND

    BUGS

    SEE ALSO