Hi, I am building an email marketing application, and in that I want to provide a functionality for the user to view his html mails in different mail clients. How can I create this? Please help.
views:
39answers:
5Any email client will either use its own inbuilt HTML renderer/viewer(which generally will be a standards compliant) or the default one set on that particular OS. So if your email template looks same on all the browsers, it should show the same on all email clients. Check this from mailchimp
Interesting question!
To get useful results, you would have to actually render the E-Mail in each client. There is zero chance to do that within a client application, due to a multitude of platform and licensing issues.
The only way I can see is building some sort of web service, running on a server on which each client runs using a scripting engine (maybe with virtual machines for the various platforms, Windows, Mac OS, Linux...), and making screen shots of the rendered result, similar to what browsershots does for browsers.
While that is not impossible - you may even be able to use browsershots as a basis - it's going to be tough to set up, and possibly expensive as you would have to buy a number of commercial mail clients (Outlook, Lotus...)
You might be able to gain a big competitive edge by implementing this, but the effort would be huge.
We've used a company called Pivotal Veracity in the past. Basically, you send your test email to an email address they provide and then you log in to their application to see how it renders in different email clients (even web clients). You can view the email as it would look with images on or images off.
You might also want to check out Email on Acid - they have an API out that is cheaper than Pivotal Veracity and Litmus and their results are generally much faster.