Class TestMailServer
java.lang.Object
org.springframework.integration.test.mail.TestMailServer
public final class TestMailServer extends Object
A basic test mail server for pop3, imap,
Serves up a canned email message with each protocol.
For smtp, it handles the basic handshaking and captures
the pertinent data so it can be verified by a test case.
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestMailServer.ImapServer
static class
TestMailServer.MailServer
static class
TestMailServer.Pop3Server
static class
TestMailServer.SmtpServer
-
Method Summary
Modifier and Type Method Description static TestMailServer.ImapServer
imap(int port)
static TestMailServer.Pop3Server
pop3(int port)
static TestMailServer.SmtpServer
smtp(int port)