Sunday, July 11, 2004, 7:03:01 AM, HELDON wrote:

H> Problem is that i need The Bat! working in following order:
H> When first mail is received i need that mail to be deleted from
H> mailserver immediately, and when its done, only then to start downloading second
H> mail. When second mail is received i need delete it from mailserver
H> immediately too, and only then start download mail Nr.3, and so on..

I did a quick experiment and this seems to be the order that TheBat
retrieves and deletes messages for me on a POP account.
C: RETR 1
S: +OK nnnn octets
   Message
C: RETR 2
S: +OK nnnn octets
   Message
C: DELE 1
S: +OK
C: RETR 3
S: +OK nnnn octets
   Message
C: DELE 2
S: +OK
C: RETR 4
S: +OK nnnn octets
   Message
C: DELE 3
S: +OK
C: RETR 5
S: +OK nnnn octets
   Message   
C: DELE 4
S: +OK
C: RETR 6
S: +OK nnnn octets
   Message
etc............
C: DELE N-1
S: +OK
C: DELE N
S: +OK
C: QUIT

So it sort of does what you want, but one message behind.  Don't know
if this is by design or accident.
   
-- 
Regards,
 Plan9
"I honestly think it is better to be a failure at something you love
 than to be a success at something you hate." - George Burns


________________________________________________
Current version is 2.11.02 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to