Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Newsletter error


Recommended Posts



When I send a newsletter I recive it broken (but in the browser everything seems to be ok).


In the upper-right corner is the localhost version the other screen are from my yahoo account.



(sorry for my bad english rolleyes.gif )


Link to comment
Share on other sites

  • 1 month later...

The email function in OSCommerce is reading every single line break in the email, even in the header of the email as a double line break. The newer releases of have changed how this works, and if you compare the two files in your shop catalog/includes/classes/mime.php and catalog/includes/classes/email.php with the same files in the updated versions (search for EMAIL_LINEFEED) you'll see the difference.


Alternatively As a quick fix, a hack really, simply create your email in your editor. Then back space each line of html code until your email is in one single really long line in your editor, then cut and paste that one line into the newsletter manager in your admin.


The mailbeez addon above has solved the issue quite well, as has the 'mail manager' addon.

Oscommerce site:



OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites


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

  • Create New...