CMailMessage::Close Method  
 
VOID Close();

The Close closes the current message, releasing the memory allocated for the header and body.

Parameters

None.

Return Value

None.

Remarks

The Close method releases the memory allocated by the class when the message was opened or when a new message was composed. If this method is not explicitly called, the class will automatically close the current message when a new message is opened or when the class destructor is invoked.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csmsgv12.lib

See Also