iknownothing Posted August 20, 2008 Share Posted August 20, 2008 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 More sharing options...
Guest Posted August 21, 2008 Share Posted August 21, 2008 I would like a solution for this to please. Link to comment Share on other sites More sharing options...
iknownothing Posted August 22, 2008 Author Share Posted August 22, 2008 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 More sharing options...
mabyland Posted September 29, 2008 Share Posted September 29, 2008 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 More sharing options...
Guest Posted December 30, 2008 Share Posted December 30, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.