Hitting a wall this week when an application broken in CI due to newly added email notification service.
Basically, after each transaction, an email sent out to notify customer. Unfortunately, may I say fortunately, for a great job done by the infrastructure and security teams, local and CI are blocked to access SMTP server.
Project is in the Spring boat. It's blissful experience that Spring has native email service implementation and support, concisely and quickly to turn it on. To get CI go through, the first hint is to replace real email service with mocked one. It should support unit and functional test. However, it can't touch the existing beautiful code, even a single character.
There are a lot these email / SMTP server solutions: Apache James, jsmtpd ... our congenial friend +Dean Budd Deano Balsano tipped Dumbster long time ago. But they all lost touch, out of fashion now. New boy is in town and his name is Subetha SMTP.
Let the code do the talk ...
Reference: https://code.google.com/p/subethasmtp/
Hahaha.