Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HTML Email


eddyvlad

Recommended Posts

When sending email, I set MIME HTML When Sending Emails to true and send the following :-

 

<h1>test email</h1>

<blockquote>bsjbc</blockquote>

 

<a href="test.html">blah</a>

 

I set to false and do the same. I get the same exact email, showing the codes.

How do I actually send html email?

Link to comment
Share on other sites

  • 6 months later...

to get html emails to work find this line and change to this:

 

$mimemessage->add_text($message);

 

to

 

$mimemessage->add_html($message);

 

this line is in email.php and newsletter.php in the admin side

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

  • 1 month later...
to get html emails to work find this line and change to this:

 

$mimemessage->add_text($message);

 

to

 

$mimemessage->add_html($message);

 

this line is in email.php and newsletter.php in the admin side

Hi I'm having the same trouble. I found the line $mimemessage->add_text($message); in the mail.php but not in newsletters.php. Sending an email in html works fine but not in newsletter. You see all the code. I shall look a bit deeper.

Link to comment
Share on other sites

Hi I'm having the same trouble. I found the line $mimemessage->add_text($message); in the mail.php but not in newsletters.php. Sending an email in html works fine but not in newsletter. You see all the code. I shall look a bit deeper.

It's ok I found the file in catalog/admin/includes/modules/newsletters

It now works a treat. Thankyou.

 

Trev :D

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...