Class TestMailServer
java.lang.Object
org.springframework.integration.test.mail.TestMailServer
@Deprecated public final class TestMailServer extends Object
Deprecated.
since 5.5 in favor of GreenMail library for mail testing.
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.ImapServerDeprecated.static classTestMailServer.MailServerDeprecated.static classTestMailServer.Pop3ServerDeprecated.static classTestMailServer.SmtpServerDeprecated. -
Method Summary
Modifier and Type Method Description static TestMailServer.ImapServerimap(int port)Deprecated.static TestMailServer.Pop3Serverpop3(int port)Deprecated.static TestMailServer.SmtpServersmtp(int port)Deprecated.