public final class Mail
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static MailHeadersBuilder |
headers() |
static ImapIdleChannelAdapterSpec |
imapIdleAdapter() |
static ImapIdleChannelAdapterSpec |
imapIdleAdapter(org.springframework.integration.mail.ImapMailReceiver imapMailReceiver)
An
ImapIdleChannelAdapterSpec factory based on the provided ImapMailReceiver . |
static ImapIdleChannelAdapterSpec |
imapIdleAdapter(java.lang.String url) |
static ImapMailInboundChannelAdapterSpec |
imapInboundAdapter() |
static ImapMailInboundChannelAdapterSpec |
imapInboundAdapter(org.springframework.integration.mail.ImapMailReceiver imapMailReceiver)
An
ImapMailInboundChannelAdapterSpec factory based on the provided ImapMailReceiver . |
static ImapMailInboundChannelAdapterSpec |
imapInboundAdapter(java.lang.String url) |
static MailSendingMessageHandlerSpec |
outboundAdapter(java.lang.String host) |
static Pop3MailInboundChannelAdapterSpec |
pop3InboundAdapter() |
static Pop3MailInboundChannelAdapterSpec |
pop3InboundAdapter(org.springframework.integration.mail.Pop3MailReceiver pop3MailReceiver)
A
Pop3MailInboundChannelAdapterSpec factory based on the provided Pop3MailReceiver . |
static Pop3MailInboundChannelAdapterSpec |
pop3InboundAdapter(java.lang.String url) |
static Pop3MailInboundChannelAdapterSpec |
pop3InboundAdapter(java.lang.String host,
int port,
java.lang.String username,
java.lang.String password) |
static Pop3MailInboundChannelAdapterSpec |
pop3InboundAdapter(java.lang.String host,
java.lang.String username,
java.lang.String password) |
public static MailSendingMessageHandlerSpec outboundAdapter(java.lang.String host)
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter()
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(org.springframework.integration.mail.Pop3MailReceiver pop3MailReceiver)
Pop3MailInboundChannelAdapterSpec
factory based on the provided Pop3MailReceiver
.pop3MailReceiver
- the Pop3MailReceiver
to use.Pop3MailInboundChannelAdapterSpec
instance.public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(java.lang.String url)
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(java.lang.String host, java.lang.String username, java.lang.String password)
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(java.lang.String host, int port, java.lang.String username, java.lang.String password)
public static ImapMailInboundChannelAdapterSpec imapInboundAdapter()
public static ImapMailInboundChannelAdapterSpec imapInboundAdapter(org.springframework.integration.mail.ImapMailReceiver imapMailReceiver)
ImapMailInboundChannelAdapterSpec
factory based on the provided ImapMailReceiver
.imapMailReceiver
- the ImapMailReceiver
to use.ImapMailInboundChannelAdapterSpec
instance.public static ImapMailInboundChannelAdapterSpec imapInboundAdapter(java.lang.String url)
public static ImapIdleChannelAdapterSpec imapIdleAdapter()
public static ImapIdleChannelAdapterSpec imapIdleAdapter(java.lang.String url)
public static ImapIdleChannelAdapterSpec imapIdleAdapter(org.springframework.integration.mail.ImapMailReceiver imapMailReceiver)
ImapIdleChannelAdapterSpec
factory based on the provided ImapMailReceiver
.imapMailReceiver
- the ImapMailReceiver
to use.ImapIdleChannelAdapterSpec
instance.public static MailHeadersBuilder headers()