Marks a message for deletion from the current mailbox.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void DeleteMessage( int index ) |
Visual Basic |
---|
Public Sub DeleteMessage ( _ index As Integer _ ) |
Visual C++ |
---|
public: void DeleteMessage( int index ) |
Parameters
- index
- Type: System..::..Int32
The one-based message index to mark for deletion.
Remarks
The method marks the message with
the given index in the current mailbox for deletion. To process
messages marked for deletion invoke the Expunge()()()() method.