wiki:Documentation/ARexxAPI/MAILCHANGESUBJECT

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

--

Languages:


ARexx API

    MAILCHANGESUBJECT

    NAME

    MailChangeSubject -- Change the subject of the selected messages. (V2.1)

    TEMPLATE

    SUBJECT/A

    FUNCTION

    Changes the subject of all the selected messages.

    INPUTS

    SUBJECT/A - new subject (upto 199 characters)

    RETURNS

    NOTES

    If the supplied string is longer than 199 characters, it will be truncated.

    EXAMPLE

    /* Change the subject of the selected messages */

    'MAILCHANGESUBJECT "This is the new subject"'

    BUGS

    The command didn't check that the string was not longer than the maximum length allowed, causing a buffer overrun that spilled onto the message file comment when this happened. Fixed in V2.4.

    SEE ALSO