Package org.subethamail.smtp.server

Examples of org.subethamail.smtp.server.CommandHandler


        for (CommandRegistry registry : CommandRegistry.values()) {
            if (!(registry.getCommand() instanceof StartTLSCommand)) {
                availableCommands.add(registry.getCommand());
            }
        }
        CommandHandler cmd = new CommandHandler(availableCommands);
        return cmd;
    }
View Full Code Here


            log.info("Creating TLS DIS-abled server");
            this.smtpReceivingServer = new TlsDisabledSmtpServer(listeners);
        }
        this.smtpReceivingServer.setPort(smtpPort);
        this.smtpReceivingServer.setMaxConnections(30000);
        CommandHandler cmdHandler = this.smtpReceivingServer.getCommandHandler();

        MessageListenerAdapter mla = (MessageListenerAdapter) smtpReceivingServer.getMessageHandlerFactory();
        mla.setAuthenticationHandlerFactory(null);
    }
View Full Code Here

TOP

Related Classes of org.subethamail.smtp.server.CommandHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.