Example usage for Java org.springframework.integration.mail ImapMailReceiver fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() |
void | destroy() |
Object[] | receive() |
void | setBeanFactory(BeanFactory beanFactory) |
void | setCancelIdleInterval(long cancelIdleInterval) IDLE commands will be terminated after this interval; useful in cases where a connection might be silently dropped. |
void | setEmbeddedPartsAsBytes(boolean embeddedPartsAsBytes) When a header mapper is provided determine whether an embedded Part (e.g Message or Multipart content is rendered as a byte[] in the payload. |
void | setHeaderMapper(HeaderMapper Set the header mapper; if a header mapper is not provided, the message payload is a MimeMessage , when provided, the headers are mapped and the payload is the MimeMessage content. |
void | setJavaMailProperties(Properties javaMailProperties) A new Session will be created with these properties (and the JavaMailAuthenticator if provided). |
void | setMaxFetchSize(int maxFetchSize) Specify the maximum number of Messages to fetch per call to #receive() . |
void | setSearchTermStrategy(SearchTermStrategy searchTermStrategy) Provides a way to set custom SearchTermStrategy to compile a SearchTerm to be applied when retrieving mail |
void | setShouldDeleteMessages(boolean shouldDeleteMessages) Specify whether mail messages should be deleted after retrieval. |
void | setShouldMarkMessagesAsRead(Boolean shouldMarkMessagesAsRead) Specify if messages should be marked as read. |
void | setSimpleContent(boolean simpleContent) MimeMessage#getContent() returns just the email body. |
void | setUserFlag(String userFlag) Set the name of the flag to use to flag messages when the server does not support \Recent but supports user flags; default #DEFAULT_SI_USER_FLAG . |