Guest Posted July 24, 2004 Posted July 24, 2004 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?
Guest Posted July 25, 2004 Posted July 25, 2004 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.
Guest Posted July 26, 2004 Posted July 26, 2004 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?
noob Posted July 26, 2004 Posted July 26, 2004 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!
Guest Posted July 26, 2004 Posted July 26, 2004 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.
noob Posted July 26, 2004 Posted July 26, 2004 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!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.