MimeAppendMessageText Function  
 
LONG WINAPI MimeAppendMessageText(
  HMESSAGE hMessage,  
  LPCTSTR lpszText  
);

The MimeAppendMessageText function appends the specified text to the body of the current message part.

Parameters

hMessage
Handle to the message.
lpszText
A pointer to a null-terminated string which specifies the text to be appended to the current message part.

Return Value

If the function 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 MimeGetLastError.

Requirements

Client: Requires Windows 7, Windows Vista or Windows XP.
Server: Requires Windows Server 2008 or Windows Server 2003.
Header: Include cstools7.h.
Library: Use csmsgav7.lib.
Unicode: Implemented as Unicode and ANSI versions.

See Also

MimeClearMessageText, MimeCompareMessageText, MimeGetMessageText, MimeSetMessageText