Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Embedding Images in Email


Guest

Recommended Posts

Posted

Does anyone know how to embed images in an html email? I'm trying to send html emails using the tep_mail function (modified a bit with this contrib http://www.oscommerce.com/forums/index.php?sho...0entry347692) and I can't seem to attach anything. I always get emails with the image encoded as text in the body of the email. Has anyone experienced this?

Posted

Well I'm not viewing these emails in any browser, i'm viewing them in Outlook Express. Images show up in Outlook but in Eudora they don't show up.

Posted

I think the problem is in the function add_html_image_part. I'm printing out the $params array and I get this

 

Array
(
   [content_type] => image/gif
   [encoding] => base64
   [disposition] => inline
   [dfilename] => uslogo.gif
   [cid] => 71798dca32a047c055770b02b2f45eac
)

 

So it seems like it's working but....

 

the image doesn't get inserted into the email and all I get is an attachment with this in it:

 

-------

--=_e5eb0b934811022cd6c149d1bc2c3228--

 

Any ideas anyone?

Posted

cant u use <img> tags like tis

<img scr="www.blabla.com/urimagefolder">

or embed tags?

Checkout my osc contrib here!

You can also checkout the site im working on by clicking the card button!

Posted

I've tried and it works for my email client (outlook express) but it doesn't work for my actual client who is using eudora. and he can view other images in other emails.

Posted

the only thing i can suggest is look at the script of other email that he can see pics in

and use it with ur own

Checkout my osc contrib here!

You can also checkout the site im working on by clicking the card button!

Archived

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

×
×
  • Create New...