Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JAVA MAIL ATTACHMENT Deletion Error.

  Asked By: Dai    Date: Apr 02    Category: Java    Views: 18367
  

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....

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Ujala Hashmi     Answered On: Apr 02

Is this what you are looking for
forum.java.sun.com/thread.jsp

If not then, Please send the entire stack trace for the exception.

 
Didn't find what you were looking for? Find more on JAVA MAIL ATTACHMENT Deletion Error. Or get search suggestion and latest updates.




Tagged: