| INT
SmtpCloseMessage(
|
|
|
HCLIENT hClient |
|
|
| );
|
The SmtpCloseMessage function ends the composition of the
current message. The server then queues the message for delivery to
each recipient specified by the client.
Parameters
- hClient
- Handle to the client session.
Return Value
If the function succeeds, the return value is zero. If the
function fails, the return value is SMTP_ERROR. To get extended
error information, call SmtpGetLastError.
Remarks
The SmtpCloseMessage function should be called after all
of the message data has been written to the data stream.
Requirements
Client: Requires Windows Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csmtpav6.lib.
Unicode: Implemented as Unicode and ANSI versions.
See Also
SmtpAppendMessage, SmtpCreateMessage, SmtpWrite
|