saksham / hulaki Goto Github PK
View Code? Open in Web Editor NEWHulaki, a very simple fake SMTP server
License: Apache License 2.0
Hulaki, a very simple fake SMTP server
License: Apache License 2.0
Perform a null check in ServerApplication line 40!
Request doesn't need to be encoded. This was probbably a typo.
This is not needed as Java Enum provides values() method.
SmtpServerTests are failing because the server can't be restarted predictably
00:04:38,712: Starting SMTP server on port: 2500...
00:04:40,887: Stopping SMTP server...
Exception in thread "Thread-0" com.dumbster.smtp.exceptions.SmtpException: java.net.BindException: Address already in use: bind
at com.dumbster.smtp.transport.SmtpServer.run(SmtpServer.java:77)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:104)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:464)
at io.netty.channel.DefaultChannelPipeline$HeadHandler.bind(DefaultChannelPipeline.java:1032)
at io.netty.channel.ChannelHandlerInvokerUtil.invokeBindNow(ChannelHandlerInvokerUtil.java:99)
at io.netty.channel.DefaultChannelHandlerInvoker.invokeBind(DefaultChannelHandlerInvoker.java:196)
at io.netty.channel.DefaultChannelHandlerContext.bind(DefaultChannelHandlerContext.java:366)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:898)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:189)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:309)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:318)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:794)
... 1 more
00:04:45,352: Stopped SMTP server
java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
at org.springframework.util.Assert.isTrue(Assert.java:65)
at org.springframework.util.Assert.isTrue(Assert.java:77)
at com.dumbster.smtp.transport.SmtpServer.start(SmtpServer.java:49)
at com.dumbster.smtp.transport.SmtpServerTest.startSmtpServer(SmtpServerTest.java:207)
at com.dumbster.smtp.transport.SmtpServerTest.setUp(SmtpServerTest.java:46)
Process finished with exit code 0
I guess we can use XmlWrapperElement to get rid of the entity altogether.
Upgrade to Log4j 2
Change package name of the Java classes so that they are aligned to the group-id.
This results in NPE at the API server whenever client sends a message to the server because the API server does not have any dependency injected.
SmtpMessagesTest fails when all tests are run, especially the test that use special characters. Surprisingly, the test passes when I run only the tests from the class.
This might be issue related to
All storage classes and methods could be renamed to DAO because the abstraction layer is actually a DAO
Wire all spring dependencies in tests so that MailStorageTests pass.
ApiServerTest.restartApiServerMultipleTimes() fails.
Might be possible by adding some annotations or wiring to TestInfrastructure.
@ContextConfiguration(locations = {"classpath:/application-config.xml"})
Affected tests
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.