Web Hosting
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009

    Default How to embed image in html email?


    im doing the greeting card and let user to fill in the recipient name and message and then send to the recipient mailbox.

    The problem:
    i do not know how to embed the image into html email...i want the recipient see the image directly without attachment...i have tried to use <img src...> but not work, bcos the image received by recipient is not shown..

    i heard my senior said that i cannot use linked image in html email and need to use embed instead bcos some of the recipient mail setting do not allow to view that image..

    may i know how can i achieve that?

    see this link for my issue:

  2. #2
    Join Date
    Oct 2007


    Well, the easiest way to do this would be to attach the image to the mail. This way the image will be embedded in the mail, not in HTML.

    However, since you don't want to attach the image, you can place the image in a place accessible via HTTP (e.g. your hosting account), and then link to the image from the HTML code in the mail.

  3. #3
    Join Date
    Oct 2010

    Default easy wey :)

    this is my web app to do this.


  4. #4
    Join Date
    Mar 2011
    United Kingdom


    try to use file_get_contents. make sure the image path is full path. put some http://www.domain.com/folder/filename.extension

  5. #5
    Join Date
    Jul 2009


    A very good coding guide is there in the above link.This will help you to solve your problem.

Similar Threads

  1. Export embed
    By Juloco in forum Hosting Related Questions
    Replies: 0
    Last Post: 11-22-2010, 01:04 PM
  2. HTML tags stripped out of email body
    By nwwds in forum Hosting Related Questions
    Replies: 1
    Last Post: 02-28-2010, 05:54 AM
  3. Really simple question: email in html page
    By timshel in forum Hosting Related Questions
    Replies: 1
    Last Post: 05-14-2008, 11:40 AM
  4. How to embed media in Joomla pages
    By WillDugan in forum General Joomla Discussions
    Replies: 1
    Last Post: 12-07-2007, 12:31 PM
  5. Embed Media Player
    By nila in forum Hosting Related Questions
    Replies: 2
    Last Post: 08-23-2005, 06:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts