| HMESSAGE MimeCreateMessage();
|
The MimeCreateMessage function creates a new empty
message.
Parameters
There are no parameters.
Return Value
If the function succeeds, the return value is a handle to the
message. If the function fails, the return value is
INVALID_MESSAGE. To get extended error information, call
MimeGetLastError.
Remarks
To create a message with defined values for the sender,
recipient, subject and body it is recommended that you use the
MimeComposeMessage function.
Call the MimeDeleteMessage function to free the memory
allocated for this message when it is no longer needed.
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.
See Also
MimeComposeMessage,
MimeCreateMessageEx,
MimeCreateMessagePart,
MimeDeleteMessage, MimeExportMessage, MimeImportMessage
|