Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - my newsletter is just sending html code!


kiwidesign

Recommended Posts

Posted

Hi all,

 

I recently added tinyMCE editor to my newsletter.php page - this appears to have been successful and i created a nice looking newsletter. When I preview the newsletter it looks just as I want it to. However, when I send the newsletter (i have an account that send to me also) it is all just HTML code that appears.

 

I changed the email setting to send with MIME html - sent them again - still same problem.

 

What on earth am I doing wrong?

 

Kiwidesign

Posted
Are you sure the email account you are using allows the reciept of HTML email messages? First thought I had...

 

Yeah that was my first thought too. Turns out you actually need to change the code in the newsletter.php file

 

Where it says this

$mimemessage->add_text($this->content);

 

 

You have to replace it with this

$mimemessage->add_html($this->content);

 

Hope this helps others in the future

  • 1 month later...
Posted

I installed TinyMCE, and am just now beginning to play with it. I noticed something odd, though, and was hoping for some help.

 

I edited one newsletter successfully, but wanted to go back in and experiment some more. The editor shows up, but there are no Submit or Cancel buttons available. Has anyone else had this problem?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...