Exception when Deleting Java POP3 Mail
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vishweshwar_Manthani
Posted On:   Monday, June 14, 2004 05:57 AM

I have written a Programme that reads Mails From POP3 server, it gets each mail and stores its attachment into a Folder and also Im saving that Email into another BackUp Email Server also, after doing these Im Deleting the Mail From the POP3 Server. Im deleting the Mail by setting Flags.flag.DELETE and folder.close(true), It is Working fine for Mails with Attachments in smaller size like upto 3/4 MB, but for my real scenario i have 9.5 MB attachments, when iam deleting those Mails it is Throwing Exception javax.mail.MessagingException. when i use expunge am getting javax.mail.MethodNotSupportedException: Expunge not supported , Exception, Please Advice.... Waiting for your reply...    More>>

I have written a Programme that reads Mails From POP3 server, it gets each mail and stores its attachment into a Folder and also Im saving that Email into another BackUp Email Server also, after doing these Im Deleting the Mail From the POP3 Server.
Im deleting the Mail by setting Flags.flag.DELETE and folder.close(true), It is Working fine for Mails with Attachments in smaller size like upto 3/4 MB, but for my real scenario i have 9.5 MB attachments, when iam deleting those Mails it is Throwing Exception javax.mail.MessagingException.
when i use expunge am getting javax.mail.MethodNotSupportedException: Expunge not supported , Exception, Please Advice....

Waiting for your reply...

   <<Less
About | Sitemap | Contact