Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

News Letters in HTML


coolcl

Recommended Posts

Posted

I just installed a nice little contribution, "Add Mail Message Type" very simple to install and it does a great job.

I am not good at all programming but would it be possible to do the same mod to the newsletter.php file or the equivalent to that. Most of the actual news letters contributions are big in size.

 

Thank you all.

 

cl

Posted

I don't know about that contribution but to get HTML in my newsletter...

 

In admin/includes/modules/newsletters/newsletter.php

 

around line 63

 

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

 

change it to

 

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

 

 

HTH

Tom

Posted

Not to hijack this topic.... but Tom, how would you go about adding a header/logo to all the emails that get sent out (especially the order email!)

Posted

I'm pretty sure that with the standard osCommerce the order email is sent in plain text so you would not be able to add the HTML to produce the logo in the email.

 

However one of contributions I just search for you, appears to setup order emails in HTML.

 

http://www.oscommerce.com/community/contributions,1091

 

There may be other contributions (I think the WYSIWYG contrib) that provide HTML email etc.

 

HTH

Tom

Archived

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

×
×
  • Create New...