ClearMessage Method  
 

Clear the current message.

Syntax

object.ClearMessage

Parameters

None.

Return Value

A value of zero is returned if the method succeeds. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

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.

See Also

ComposeMessage Method