From an API point of view, our mobile email tests work exactly the same way as our regular email tests. Mobile email clients are simply additional 'Testing Applications’- you'll access them using the exact same API calls. The mobile results are returned amongst your regular email test results, and consist of URLs to the screenshots.

However, there is one crucial difference. Mobile email tests are interactive, in some cases, even animated. We use a handful of different image files, some CSS magic, and a touch of Javascript to achieve these results. In order to include these types of results in your application, you'll need to add our Javascript to your site, and load in our HTML/CSS code, rather than just the screenshot image. We've tried to make it as easy as possible for you to do- there is a full code sample to download below.

Code sample

Each mobile device requires different client-side (HTML/CSS/JS) code. Your application should check which mobile device is being viewed and serve up the appropriate client-side code. A list of mobile devices and their associated Application IDs can be found at the end of this document.

Sample HTML, CSS, Javascript as well as transparent devices images can be found at: https://github.com/litmus/litmus-mobile-samples

What are the Application IDs and OS details for these mobile devices?

Phone ModelOperating SystemMail ClientApplication ID
HTC WildfireAndroid 2.3 (Gingerbread)Defaultandroid23
Samsung Galaxy NexusAndroid 4.2.2 (Jellybean)Defaultandroid4
Samsung Galaxy NexusAndroid 4.2.2 (Jellybean)Gmail Appandroidgmailapp
Blackberry 8900Blackberry OS 5 (HTML)Defaultblackberryhtml
iPhone 4SiOS 6Defaultiphone4
iPhone 5iOS 6Defaultiphone5
iPhone 5SiOS 7Defaultiphone5s
iPhone 6iOS 8Defaultiphone6
iPhone 6+iOS 8Defaultiphone6plus
iPad (Retina)iOS 7Defaultipad
iPad MiniiOS 7Defaultipadmini
Nokia N96Symbian S60Defaultsymbians60
Nokia Lumia 810Windows Phone 8Defaultwindowsphone8