Update a Tugboat Mail Message

Updates the properties of a mail message captured by Tugboat.

Arguments

  • message - Required The message to update. This can be a single message ID, or an array of message IDs.

  • read - Optional
    Whether to mark the messages as read or not.

Example

socket.emit('tugboat', 'mail', 'update', args, callback);

Output

Errors

  • 1026: No Messages Found
    Returned if the requested messages do not exist, or the requestor does not have permission to update them.

  • 1027: No Message ID Provided
    The required message argument was not included in the request.

results matching ""

    No results matching ""