I am working on a project that is built on Java and sends some email to legacy systems,开发者_StackOverflow社区 at the moment in the dev env we are using gmail to test the emails.
I wanted to ask that if there is any existing test framework that can hook up to the mail/exchange server and perform the test that if the email are getting sent correctly and have the content is correct. or similar or if there is a workaround for that. Also, the content of the emails is dynamically generated.
I checked out the other question before I posted this question... but none seems to be an answer to my question
Have you tried Dumbster?
If this doesn't meet your criteria, then see the other answers to Running Junit Email Tests Without Emails Actually Going Out
精彩评论