Lasso Soft Inc. > Home

[ Email_POP->Delete ]

Method

[Email_POP->Delete] marks a message on the server for deletion. If a position is specified then that message is marked for deletion. If no position is specified then the current message is marked for deletion.

The message will not actually be deleted until the [Email_POP->Close] method is called (or if the page finishes executing without closing the connection to the server). If the [Email_POP->Cancel] method is called then all of the deletion marks will be cleared.

The current message is set when the [Email_POP] type is used within [Iterate] or any time [Email_POP->Get], [Email_POP->Retrieve], [Email_POP->Delete], [Email_POP->Headers], or [Email_POP->UniqueID] is called with a position.

  • Syntax
Var(myPOP = Email_POP(-Host='mail.example.com', -Username='Example', -Password='Example'))
Iterate($myPOP, Var(UniqueID))
  $myPOP->Delete
  ...
/Iterate
$myPOP->Close
Examples

No examples found

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft