I need to figure out how to get a diverse sample of emails with inline images in them. Our web application has to be able to identify inline images in email and then display the email and image in a discussion format. I am looking for any suggestions on how and where to get as many unique examples of this as possible.

  • I can appreciate that this is an actual problem you face, but this doesn't seem to be an answerable question. It also lacks a key element of a great question: prior effort. The question doesn't currently demonstrate what you've done to try to solve the problem already. – corsiKa Nov 28 '12 at 20:43

Host an Open Beta, soliciting such emails.


You need to clarify your question. What do you mean by diverse sample of emails. Are you talking about different encodings, emails from different providers, different fonts, etc., or are you just talking about emails with embedded images? Also, is there a size limitation on the inline images?

A simple approach may be to generate random strings of words then randomly insert images at 1 or more points within the message body. Parameterized test data generation is a very potent way to increase data coverage and increase test variability.

As for where to get the images...the Internet has an amazing amount and variety of images that are publicly available.

Not the answer you're looking for? Browse other questions tagged or ask your own question.