Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HTML Mail with embedded images


Guest

Recommended Posts

I am running osCommerce 2.2 MS1 and want to send html emails to new customers with an embedded image (to explain banktransfer). HTML mails go out well formated without any problem, but I was not able to embed the image. Each time I try it, the HTML part of the mail is empty:

 

--=_b1349a6ba07fa05b6d9a4f8a4151e8cd

Content-Type: multipart/related

 

 

-------

 

--=_b1349a6ba07fa05b6d9a4f8a4151e8cd--

 

It looked like there was a problem with the file path, so I added some code like

 

if (file_exists($images_dir . basename($images[1][$i]))) instead of

 

if (file_exists($images[1][$i]))

 

and it appears the images were now found, but they are still not included.

 

Is there anybody out who managed to get it work already? Thanks in advance!

 

rgds

Werner

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...