@Operations(value=POP3Operations.class) @ConnectionProviders(value={POP3Provider.class,POP3SProvider.class}) @Configuration(name="pop3") @DisplayName(value="POP3") public class POP3Configuration extends Object implements MailboxAccessConfiguration
| Constructor and Description |
|---|
POP3Configuration() |
| 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()
The pop3 protocol always read the content when retrieves an email.
isEagerlyFetchContent in interface MailboxAccessConfigurationpublic <T extends BaseEmailAttributes> T parseAttributesFromMessage(javax.mail.Message message, javax.mail.Folder folder)
BaseEmailAttributes 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.