Mailcontroller stripping out code

Just wondering if anyone else has experienced this problem.
I've not been able to find much on Google so thought I'd post here.

A company I am working for uses Mailcontroller (an anti-virus, anti-spam programme).

It seems to corrupt code by adding in "defanghtml"

For example:
<table width="560" border="0" cellspacing="0" cellpadding="0" style="margin-left:20px; margin-top:10px">
    <td width="256" style="color:#660099; font-size:12px; font-family:Arial, Helvetica, sans-serif;">The days are getting longer, the Easter


<table width="560" border=0 cellspacing=0 cellpadding=0 defanghtml_style="margin-left:20px; margin-top:10px">
    <td width="256" defanghtml_style="color:#660099; font-size:12px; font-family:Arial, Helvetica, sans-serif;">The days are getting longer, the Easter

The consequence is that none of the style tags work....and a nicely designed email looks horrible.

I'm curious if anyone else is aware of this problem, and more vitally if anyone has come up with any solutions?



Mathew Mathew, 9 years ago

Hey Adam, seems like the same problem discussed here:

It is not likely something you can change from the sending side I'm afraid.

Get in touch with us on Twitter:
We're also on Facebook:
visitorgrowth, 9 years ago

Thanks for the reply Matthew.

Yes, that link is describing the same problem.

I've managed to come up with a basic workaround, including font face  and size tags etc to ensure at least some style is applied to the email.

I'm sure that this is going to become a more and more widespread issue, so something to bear in mind!

ramnadinfo, 8 years ago

Hey adam,
it might be issue with some email client. ex:outlook exp.
can u try without inline style sheet..
instead for using the style inside the html tag.. try to use some classes and write the class definition in the top of the page..

i hope it will works

dergal, 7 years ago

Hi - just registered to post the same q's - what is odd is that sometimes style works and sometimes it doesn't ...  its the randomness of why it can sometimes be allowed through that is bugging me! If anyone does find a work around that would be amazing.

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free