Friday, January 09, 2009

Email Testing - Viewing HTML emails

I wanted to write a follow up to my post on email testing. I could now easily capture an email, using DevNull SMTP, but I also wanted to view the email as if I had just received it.

To do this all I needed to do was copy the plain text of the email message to a .eml file and then open the .eml file in a email client. In my case I copied the email from the DevNull SMTP email server applet and into a test.eml file. I then opened up Outlook Express and dragged the test.eml file into the client. Outlook Express was able to render plain text or HTML emails just fine, which is exactly what I was looking for.

No comments: