CMailMessage::AppendText Method  
 
LONG AppendText(
  LPCTSTR lpszText  
);

The AppendText method appends the specified text to the body of the current message part.

Parameters

lpszText
A pointer to a string which specifies the text to be appended to the current message part.

Return Value

If the method succeeds, the return value is the number of bytes copied into the message. A return value of zero indicates that no text could be appended to the current message part. To get extended error information, call GetLastError.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csmsgv10.lib
Unicode: Implemented as Unicode and ANSI versions.

See Also

ClearText, CompareText, GetText, SetText