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 classTestMailServer.ImapServerstatic classTestMailServer.MailServerstatic classTestMailServer.Pop3Serverstatic classTestMailServer.SmtpServer -
Method Summary
Modifier and Type Method Description static TestMailServer.ImapServerimap(int port)static TestMailServer.Pop3Serverpop3(int port)static TestMailServer.SmtpServersmtp(int port)