AppendMessage Method  
 

Append text to the current message part.

Syntax

object.AppendMessage( MessageText )

Parameters

MessageText
A string which specifies the text to append.

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 AppendMessage method appends the specified string to the end of the body of text in the current message part. Each line of text contained in the string should be terminated with a carriage-return/linefeed (CRLF) pair, which is recognized as the end-of-line.

See Also

MessagePart Property, ComposeMessage Method, CreatePart Method