Re: Embed images in emails
| From: | Bastien Koert | Date: | Thu, 29 May 2008 14:54:34 +0000 |
| Subject: | Re: Embed images in emails | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274816@lists.php.net to get a copy of this message | ||
On Thu, May 29, 2008 at 6:11 AM, Iñigo Medina García <
imedina@diazdesantos.es> wrote:
> Hi,
>
> I'm trying to send emails with embed and dynamic images: a normal tell a
> friend feature which sends the email with item's data: author, title,
> image-cover, etc.
>
> Ideas PEAR and mime classes apart?
>
> thanks
>
> iñigo
>
> --
> --------
> Iñigo Medina García
> Librería Díaz de Santos
> Madrid (Spain)
> Dpt.Desarrollo
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
You'll need to create a HTML email, and then embed the image with the <img>
tag, using the entire path to the image as the source attribute
<img src='http://www.mysite.com/images/thisimage.jpg'>
You may want to look at some email that you get that have images in them and
just view the source.
--
Bastien
Cat, the other other white meat