How to view the source of an HTML email

tom Tom, 8th April 2014

Creating HTML emails is a bit of an art form, although as anyone who's had the joy of creating an HTML email knows, it's a rather semantically ugly form of art.

Making an email work across the multitude of different devices and email clients requires an awful lot of tricks and hacks and whenever I receive an HTML email that's been built by someone else I always wonder how they did it and am curious to see if they know a better way of doing something than I do. However if you've ever tried to view the source code of an email received in gmail, you'll know it's far from clear.

So I've developed a neat little webservice. If you forward your email to debugemail(at)18aproductions.co.uk the service will decode the email for you and send you the source code. Give it a try :)

This is only a really quick beta service at the moment, more of a proof of concept, but I hope it might prove useful to someone trying to reverse engineer someone elses email.

Update - Since writing this I've also discovered that you can follow these instructions to view the source of an email in gmail (Oh well it's still a cool service!) :)

http://webapps.stackexchange.com/questions/33926/can-i-view-the-html-source-of-an-email-sent-to-my-gmail-address

More from our blog

18a win Netty 2024 award for Activibees.com

18a win Netty 2024 award for Activibees.com

29.02.24

We are delighted to announce that 18a has been recognised for its outstanding work in the "Web Design Agency of the Year - UK" category at… Read →

Generating an Effective Content Security Policy with your Laravel React App

Generating an Effective Content Security Policy with your Laravel React App

27.02.24

I recently had an interesting problem to solve. I'd built a brand new author website on a shiny installation of Laravel 10, utilising its out-of-the-box… Read →

If your WordPress website looks broken, it could be because of this.

If your WordPress website looks broken, it could be because of this.

15.02.24

WordPress is the incredibly popular blogging-come-full-website platform that powers over 835 million websites* in 2024. It's functionality is extended by plugins, and one such very… Read →