AppendMessage Method  
 

Append text to the body of the current message part.

Syntax

object.AppendMessage( MessageText )

Parameters

MessageText
A string which specifies the message text to be appended to the current message part.

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

If the current message is not a multipart message, it is marked as multipart and the attached file is appended to the message. If the message is already a multipart message, an additional part is created and the attachment is added to the message.

To attach data that is stored in a string or byte array rather than a file, use the AttachData method.

See Also

Text Property, ParseMessage Method