Ver Mensaje Individual
  #3  
Antiguo 07-04-2008
jplj jplj is offline
Miembro
 
Registrado: oct 2003
Posts: 189
Reputación: 21
jplj Va por buen camino
Muchas gracias: recordabas bien

En la documentación de los componentes Indy, encontramos:

TIdPOP3.Delete Method
Código Delphi [-]
function Delete( const MsgNum: Integer): Boolean;

Delete is a Boolean function that marks a message on the POP3 server for deletion using the message number specified in MsgNum. If a non-existent message number is used, an exception is raised.

Delete uses SendCmd to execute the POP DELE command that marks the indicated message number for deletion. Messages marked for deletion on the POP3 server will be physically removed when Disconnect is called. Use Reset to clear all message deletion marks anytime prior to calling Disconnect.

Delete returns True when the result for the operation, as indicated by LastCmdResult, contains the value ST_OK.
__________________
Sonríe. Mañana puede ser peor.
Responder Con Cita