Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

To Send Email With Image Embeded


Recommended Posts

hello people,


i have a custom page just like tell a friend, but in this i have added few features like to attach a image file, which will be sent to the admin of the shop .The admin will have a look at the image and give specific advice for buying the carpet/rug to the floor or what ever..... But the problem i am facing is i am not able to send the image in embeded form inside the mail.....!!!!!!! I have tried changing the add_html() function in the email.php, but the mail is going without image.......!!!!:(


So can any one help me out with this issue..........


Thanks in advance........


Link to comment
Share on other sites

you will have to conditionally add a header for the attachment.


header("Content-disposition: attachment; filename=some_file.txt");

Link to comment
Share on other sites


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

  • Create New...