SubEtha SMTP 是一个用Java编写的SMTP邮件服务器端的处理类库。可通过它来简单的接收客户端的邮件发送请求。示例代码:
MyMessageHandlerFactory myFactory = new MyMessageHandlerFactory() ;
SMTPServer smtpServer = new SMTPServer(myFactory);
smtpServer.setPort(25000);
smtpServer.start();
Changes:
1. PlainAuthenticationHandlerFactory now accepts non-null authorization identities.
2. The addition of Received headers is now configurable.
3. The client now times out if the server does not respond.
4. Wiser.messages is now protected so that subclasses can override it.
暂无更多评论