Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


6.3.2 mail.imap.fetchsize

mail.imap.fetchsize specifies the partial fetch size in bytes. The default value is 16 kilobyte.

Description

mail.imap.fetchsize specifies the partial fetch size in bytes. The default value is 16 kilobyte.

Specifiable values

Type: Integer

0 to 2147483647

Default value

If the definition item is omitted

16384

Example

Properties properties = new Properties();
properties.setProperty("mail.imap.fetchsize", "1000");
Session session = Session.getDefaultInstance(properties);
Store store = session.getStore("imap");
store.connect("user", "password");
messages = folder.getMessages();