Skip to content

ImapMailReceiver bean is not initialized #2995

Closed
@garyrussell

Description

@garyrussell

See https://stackoverflow.com/questions/57126841/how-to-enable-imapfolder-read-write-mode-in-spring-mail-integration/57146996#57146996

		return IntegrationFlows
				.from(Mail.imapInboundAdapter("imaps://usr:pwd@imap.host.com/INBOX")
						.searchTermStrategy(searchTermStrategy).shouldMarkMessagesAsRead(true).get(),
						e -> e.poller(Pollers.fixedRate(5000).maxMessagesPerPoll(1)))
				.log()
				.get();

No call to afterPropertiesSet() is made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidNot reproducable or not relevant to the current state of the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions