PC Review


Reply
Thread Tools Rate Thread

how to delete the mail

 
 
Vaidas Gudas
Guest
Posts: n/a
 
      3rd Apr 2006
I has written the .net application, which read e-mail from pop3.
Now I want delete the mail in mail box. How to do that


 
Reply With Quote
 
 
 
 
Vadym Stetsyak
Guest
Posts: n/a
 
      3rd Apr 2006
Hello, Vaidas!

VG> I has written the .net application, which read e-mail from pop3.
VG> Now I want delete the mail in mail box. How to do that

I suppose that youre aquainted with RFC 1939, since you've implemented mail get.
So from RFC 1939:
To mark message as deleted
"DELE msg
Arguments:
a message-number (required) which may NOT refer to a
message marked as deleted
"

The example:
"Client: DELE 1"
Server may respond in the following way
"Server: +OK message 1 deleted"
or
"Server: -ERR message 1 already deleted"

For details, please visit ( http://www.ietf.org/rfc/rfc1939.txt )
Page 18

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
Reply With Quote
 
Jerome Bonnet
Guest
Posts: n/a
 
      5th Apr 2006
True but not enough

You must mark as Deleted the mail thanks to :
DELE msg

but it will be deleted ONLY after the QUIT command !

"Vadym Stetsyak" <(E-Mail Removed)> a ecrit dans le message de news:
uuf1%(E-Mail Removed)...
> Hello, Vaidas!
>
> VG> I has written the .net application, which read e-mail from pop3.
> VG> Now I want delete the mail in mail box. How to do that
>
> I suppose that youre aquainted with RFC 1939, since you've implemented
> mail get.
> So from RFC 1939:
> To mark message as deleted
> "DELE msg
> Arguments:
> a message-number (required) which may NOT refer to a
> message marked as deleted
> "
>
> The example:
> "Client: DELE 1"
> Server may respond in the following way
> "Server: +OK message 1 deleted"
> or
> "Server: -ERR message 1 already deleted"
>
> For details, please visit ( http://www.ietf.org/rfc/rfc1939.txt )
> Page 18
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Delete Mail from Inbox of Windows Mail Version 6.0.6000.163 =?Utf-8?B?Sm9hbm5l?= Windows Vista Mail 5 21st Jul 2007 11:39 PM
How to delete too large outgoing mail - delete key doesn't work =?Utf-8?B?S2F0aGllQg==?= Microsoft Outlook Discussion 1 10th Oct 2005 04:42 PM
Repost: Delete all mail in server created 'Junk Mail' folder Kyle Microsoft Outlook Discussion 1 10th May 2004 04:47 PM
cannot receive mail, delete mail, or send mail. get an error message. dhicks Microsoft Outlook 1 16th Jan 2004 03:59 PM
Unable to delete/move mail or collect new mail Unknown Error 0x08004060C David Microsoft Outlook 0 12th Aug 2003 06:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:44 PM.