wiki:Documentation/ARexxAPI/WRITEQUEUE

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

--

Languages:


ARexx API

    WRITEQUEUE

    NAME

    WriteQueue -- Put a new message into the Outgoing queue.

    TEMPLATE

    HOLD/S

    FUNCTION

    Puts a new, just composed message into the Outgoing queue.

    INPUTS

    HOLD/S - mark the message as "Hold" to avoid sending it by mistake (V2.0)

    RETURNS

    RC is set to 10 if no Write window was previously specified as "active" with MAILWRITE ?.

    NOTES

    EXAMPLE

    /* New mail */

    MAILWRITE
    WRITETO boss@…
    'WRITESUBJECT "I don't think I can go to work today"'
    WRITELETTER 'work:excuses.txt'
    WRITEQUEUE

    BUGS

    SEE ALSO

    MAILWRITE?, WRITESEND ?