wiki:Documentation/ARexxAPI/WRITEMAILTO

Languages:

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 active Write window */
MAILWRITE WINDOW 0

/* Set the primary recipients of a message */
'WRITEMAILTO "George Bush" "jdoe" "carol@example.com"'
BUGS
SEE ALSO
MAILWRITE
Last modified 6 months ago Last modified on Apr 5, 2014 9:44:20 AM