Skip to content

Documentation ARexxAPI WRITEOPTIONS

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

WRITEOPTIONS

NAME:: WriteOptions -- Set the options of a new message. (V2.0)

TEMPLATE:: DELETE/S,RECEIPT/S,NOTIF/S,ADDINFO/S,IMPORTANCE/N,SIG/N,SECURITY/N

FUNCTION:: Sets the options of a new message.

INPUTS:: DELETE/S - discard the message completely after sending\ RECEIPT/S - ask for a return receipt\ NOTIF/S - enable message tracking (MDN)\ ADDINFO/S - add personal information\ IMPORTANCE/N - importance of the message, possible values are: - 0 - high - 1 - normal (default) - 2 - low SIG/N - signature to use, possible values are: - 0 - no signature - 1 - default value taken from the Signature configuration - 2 - alt. signature !#1 - 3 - alt. signature !#2 SECURITY/N - security to use, possible values are: - 0 - none - 1 - PGP signed - 2 - PGP encrypted - 3 - PGP signed & encrypted - 4 - send anonymously - 5 - default value for this recipient (default)

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

NOTES:: Defaults are taken from the program configuration; the default signature may vary depending on whether mailing list support is enabled or not for the current folder. If anonymous send is specified, personal info and signatures are removed automatically.

EXAMPLE:: {{{#!arexx /* Set the active Write window */ MAILWRITE WINDOW 0

 /* Set a message to be sent anonymously */
 WRITEOPTIONS SECURITY 4
 }}}

BUGS::

SEE ALSO:: MAILWRITE

Home

Getting Started

Troubleshooting

Advanced use of YAM

Cookbooks

Development

Clone this wiki locally