@ThreadSafe public final class StoreX extends Object
@Deprecated public static Folder ensureDefaultFolder(Store store) throws MessagingException
MessagingException
- for a non-existent (typically Maildir) store if the
folder does not exist; precluding a later, uninformative
"javax.mail.FolderNotFoundException: folder 'INBOX' not found"Store.getDefaultFolder()