| INT WINAPI MimeCreateMessagePart(
|
| |
HMESSAGE hMessage |
|
| );
|
The MimeCreateMessagePart function creates a new part for
the specified message. If this the first part created for a message
that does not have the multipart content type specified, the
message is marked as multipart and the header fields are
updated.
Parameters
- hMessage
- Handle to the message.
Return Value
If the function succeeds, the return value is the new message
part number. If the function fails, the return value is MIME_ERROR.
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.
See Also
MimeAttachFile, MimeCreateMessage, MimeDeleteMessagePart, MimeGetMessagePart, MimeGetMessagePartCount,
MimeSetMessagePart
|