The CloseMessage method ends the composition of the current
message. The server then queues the message for delivery to each
recipient specified by the client.
Parameters
None.
Return Value
If the method succeeds, the return value is zero. If the method
fails, the return value is SMTP_ERROR. To get extended error
information, call GetLastError.
Remarks
The CloseMessage method should be called after all of the
message data has been written to the data stream.
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: csmtpv10.lib
Unicode: Implemented as Unicode and ANSI versions.
See Also
AppendMessage,
CreateMessage,
Write
|