@Operations(value=IMAPOperations.class) @ConnectionProviders(value={IMAPProvider.class,IMAPSProvider.class}) @Configuration(name="imap") @DisplayName(value="IMAP") public class IMAPConfiguration extends Object implements MailboxAccessConfiguration
| Constructor and Description |
|---|
IMAPConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEagerlyFetchContent() |
<T extends BaseEmailAttributes> |
parseAttributesFromMessage(javax.mail.Message message,
javax.mail.Folder folder)
Resolves the
BaseEmailAttributes from a given message for this configuration. |
public boolean isEagerlyFetchContent()
isEagerlyFetchContent in interface MailboxAccessConfigurationpublic <T extends BaseEmailAttributes> T parseAttributesFromMessage(javax.mail.Message message, javax.mail.Folder folder)
MailboxAccessConfigurationBaseEmailAttributes from a given message for this configuration.parseAttributesFromMessage in interface MailboxAccessConfigurationmessage - the Message that we want to parse.folder - the folder used to find the id of the message in it.BaseEmailAttributes instance from the parsed message.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.