| INT DeleteMessage( |
| |
UINT nMessage |
|
| ); |
The DeleteMessage method marks the specified message for
deletion from the mailbox.
Parameters
- nMessage
- Number of message to delete from the server. This value must be
greater than zero. The first message in the mailbox is message
number one.
Return Value
If the method succeeds, the return value is zero. If the method
fails, the return value is POP_ERROR. To get extended error
information, call GetLastError.
Remarks
This method only marks the message for deletion. The message is
not actually deleted until the user disconnects from the server. To
prevent one or more marked messages from actually being deleted from
the mailbox, call the Reset method to reset the client
session.
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: cspopv12.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
|