Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

html newsletter gets sent as text sigh...


Kenny25

Recommended Posts

Hey guys...

 

Finally got my stubborn newsletter manager to send newsletters.... (using os2.2)

 

But even though in the preview it shows the newsletter in html format, when I send and check the newsletter in both yahoo mail and outlook (sending to myself) the mail appears in text format showing the html tags in text

 

<html>. yada yada...</html>

 

Anyone got any ideas at what stage oscommerce(or me) is not doing something right at??

 

Any pointers appreciated.

 

Kenny. :)

Link to comment
Share on other sites

The osCommerce Newsletter is set to send as text, not html.

 

You can make it html by making the following modification in admin/includes/modules/newsletter/newsletter.php around line 63:

 

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

 

edit to:

 

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

 

Do not add any line breaks into your html, else they will appear at the top of the Newsletter and drive the content down the page.

 

Vger

Link to comment
Share on other sites

  • 5 months later...
Do not add any line breaks into your html, else they will appear at the top of the Newsletter and drive the content down the page.

Vger

 

Hi there. I simply copy my html over from Dreamweaver. I have some <br>'s, but no real line breaks. I just have the typical:

 

<table>

<tr>

<td>

 

Is this what is causing my newsletter to be 5000px long? It's driving me insane. Any help appreciated.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...