Undelete Method
Undeletes messages marked for deletion.
procedure Undelete();
Remarks
This method sends an RSET command, which tells the server to undelete all previously deleted messages by removing their 'delete' marks.
Note that this method only applies to messages deleted within the same session.