Skip to content

Documentation ARexxAPI WRITEMAILTO

Jens Maus edited this page Feb 13, 2017 · 1 revision

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:: {{{#!arexx /* 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

Home

Getting Started

Troubleshooting

Advanced use of YAM

Cookbooks

Development

Clone this wiki locally