Creative Jar Blog RSS Feed

HTML defanger

February 13, 2008 15:05 by rich

We regularly have problems when sending out HTML emails created ‘on the fly’ on a webpage postback. Various clients/users will get an email that does not display as expected, these display problems can never be recreated and the usual fix is to use plain text.

We stumbled upon the term ‘defang’ recently. Amongst other things, defanging means to ‘Render an email message or attachment harmless’, and is applied by Anti-Virus/email scanning software.

The only current problem with an HTML defanger, is that is can be too sensitive and may defang content that is not strictly HTML or non-harmful HTML. All text parts are scanned for HTML but this can be a complex issue since its hard to tell what the mail readers will interpret.

Anomy Sanitizer is an example of an email-scanner that defangs HTML.

The only safe option is use plain text, or use very basic HTML such as the <table> and <font> tags for every line of text – laborious but much more likely to get past the defanger!


Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

February 14. 2008 14:58

i much prefer a html email for formatiing purposes but we're always governed by the client software and it's impossible to guarantee their ability to accept HTML anyway

one day....

tim

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

January 6. 2009 12:40

Calendar

January 2009
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567