wiki:Documentation/ARexxAPI/WRITEMAILTO

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

--

Languages:


ARexx API

    WRITEMAILTO

    NAME

    WriteMailTo -- Enter one or more names, addresses or aliases into the "To" field of the Write window.

    TEMPLATE

    ADDRESS/A/M

    FUNCTION

    Enters one or more names, addresses or aliases into the "To" field of the Write window, replacing whatever was already there. YAM will resolve names and aliases looking in the address book.

    INPUTS

    ADDRESS/A/M - list of names/addresses/aliases

    RETURNS

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

    NOTES

    Superseded by WRITETO ? in V2.0+.

    EXAMPLE

    /* Set the primary recipients of a message */

    MAILWRITE WINDOW 0 /* Set the active Write window */
    'WRITEMAILTO "George Bush" "jdoe" "carol@…"'

    BUGS

    SEE ALSO

    MAILWRITE ?