Class InterruptableSmtpServer

  • All Implemented Interfaces:
    com.icegreen.greenmail.util.Service, Runnable

    public class InterruptableSmtpServer
    extends com.icegreen.greenmail.smtp.SmtpServer
    • Constructor Detail

      • InterruptableSmtpServer

        public InterruptableSmtpServer​(com.icegreen.greenmail.util.ServerSetup setup,
                                       com.icegreen.greenmail.Managers managers)
    • Method Detail

      • createProtocolHandler

        protected com.icegreen.greenmail.server.ProtocolHandler createProtocolHandler​(Socket clientSocket)
        Overrides:
        createProtocolHandler in class com.icegreen.greenmail.smtp.SmtpServer
      • setRejectRequests

        public void setRejectRequests​(boolean rejectRequests)