Skip to content

Documentation ARexxAPI MAILSTATUS

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

MAILSTATUS

NAME:: MailStatus -- Change the status of the selected messages. (V2.0)

TEMPLATE:: STATUS/A

FUNCTION:: Changes the status of the selected messages.

 Only the basic "read", "unread", "on hold" and "ready to send"
 status can be changed with the command; additional flags like
 "marked", "important", etc. remain untouched.

INPUTS:: STATUS/A - may be one of: - H - on hold - N - new and unread - O - old and read - Q - queued for sending - R - the same as O - U - old unread - W - the same as Q

RETURNS:: RC is set to 5 if no valid STATUS is supplied, or to 10 if it is not supplied at all.

NOTES:: The command won't mind the type of folder, i.e. it will change the status of a message in the Incoming folder to "Ready to send" if instructed to do so.

EXAMPLE:: {{{#!arexx /* Switch all selected messages to "Unread" */ MAILSTATUS U }}}

BUGS::

SEE ALSO::

Home

Getting Started

Troubleshooting

Advanced use of YAM

Cookbooks

Development

Clone this wiki locally