HTML Email Question

6 posts by 2 authors in: Forums > CMS Builder
Last Post: October 20, 2014   (RSS)

By nmsinc - October 16, 2014

I have an email template within the CMS using the message placeholder listed below.

<p>#email.contents2#</p>

My problem is that the contents of the tag contains HTML and it's being parsed to the email like this "<font color="#0000ff">CONTENT OF TAG</font><br>" rather than the correct format as "CONTENT OF TAG".

Can anyone guide me in correcting this?

Thanks - nmsinc

nmsinc

By gregThomas - October 17, 2014

Hi nmsinc,

Would it be possible to post the code you're using to send the e-mail via the template, along with array that's constructing your placeholders? 

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By gregThomas - October 20, 2014

Hi nmsinc, 

Would it be possible to send me the code for the entire page, or the code that creates the placeholders variable? 

I'm thinking that the htmlencode function might be being used somewhere on the content2 variable before it gets added to the e-mail.

Thanks

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By nmsinc - October 20, 2014

Hi Greg,

Can you give me a support link on this as most of this code was developed with help from staff at interactive tools!

Thanks - nmsinc

nmsinc

By gregThomas - October 20, 2014

Hi Nmsinc,

Here is our contact form, you'll need second level support:

https://www.interactivetools.com/support/email_support_form.php

Thanks,

Greg

Greg Thomas







PHP Programmer - interactivetools.com