How can I create a folder on my mail server?

John Zukowski

First, POP3 doesn't support folders so if you are using POP3, then forget it, can't be done. If you are using IMAP, just call the create() method of Folder after naming the Folder object by calling the constructor with the name.

How do I store messages locally using JavaMail? provides information about storing messages locally.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact