Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

newsletters


iknownothing

Recommended Posts

Posted below in the General Support area but received no replies so I am posting here....

 

 

Hi,

 

I have created my first newsletter of which I placed a html version of my website directly into the newsletter add content box.

 

I previewed and came up exactly as I wanted so I sent.

 

I received a copy in my email which was the HTML code and not the page????

 

What did I do wrong, anyone?

 

Thank you.

Link to comment
Share on other sites

Posted below in the General Support area but received no replies so I am posting here....

 

 

Hi,

 

I have created my first newsletter of which I placed a html version of my website directly into the newsletter add content box.

 

I previewed and came up exactly as I wanted so I sent.

 

I received a copy in my email which was the HTML code and not the page????

 

What did I do wrong, anyone?

 

Thank you.

 

 

Anyone Please!

Link to comment
Share on other sites

  • 1 month later...

I had an identical problem to this, was solved by changing the code in the file admin/includes/modules/newsletter/newsletter.php

 

At approximately line 63 change from this:

 

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

 

to this:

 

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

 

It seems that the oscommerce newsletter is coded to be in plain text by default, html tags are not recognised as such without the aforementioned substitution.

 

I hope it works for you!

Link to comment
Share on other sites

  • 3 months later...
I had an identical problem to this, was solved by changing the code in the file admin/includes/modules/newsletter/newsletter.php

 

At approximately line 63 change from this:

 

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

 

to this:

 

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

 

It seems that the oscommerce newsletter is coded to be in plain text by default, html tags are not recognised as such without the aforementioned substitution.

 

I hope it works for you!

 

Hi, thanks for the prompt, hope it works. What I don't understand though is how do I use anything other than plain text when creating my newsletter in the first place?

I want to add pictures etc?

Any help?

Thanks in advance

Jon

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...