Question

I've just wrote MIME parser and tested it on 1000+ messages from my inbox, so looks like it's working well. However, most of these messages are private and I cannot use them in public unit tests or add them to VCS.

Are there any well-known/public sets of mail messages to be used for MIME parser unit testing?

I thought about extracting original MIME messages from public mailing lists by HTTP, but it will make test very slow and non-repeatable.

Was it helpful?

Solution

http://www.imc.org/mimetest/ is a repository for one such set of testing messages. Like the page details, such sets have been the targets for spammers in the past, so it could be one reason they're a bit hard to find.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top