ClearMessage Method

Clear the current message.

Syntax

object.ClearMessage

The object placeholder represents an expression that evaluates to an InternetMail object.

Return Type

Integer

Remarks

The ClearMessage method clears the current message, releasing the memory allocated for the message and any attachments. This will also reset the value of the Bcc property back to an empty string.

This method will return value of zero if the action was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

Bcc Property


Copyright © 2008 Catalyst Development Corporation. All rights reserved.