-
-
Notifications
You must be signed in to change notification settings - Fork 2
Mbox
Ben Fortuna edited this page Mar 6, 2017
·
1 revision
Mstor uses the mbox file format to store email messages. Whilst there is no offical specification for mbox, it may be described as simply a concatenation of email messages, separated by a message separator (i.e. the From_ line).
The easiest way to connect to an mbox store is to use a URLName:
Properties properties = new Properties(); // add optional configuration properties.. Session session = Session.getDefaultInstance(properties); Store store = session.getStore(new URLName("mstor:/some/path/to/store")); store.connect(); // further store operations..