Iñigo Medina García wrote:
> Hi Bastien,
> 
> thanks for the tip. I've already done it and it didn't run.
> But I'll check it again.
> 
>   iñigo
> 
>> On Thu, May 29, 2008 at 6:11 AM, Iñigo Medina García <
>> [EMAIL PROTECTED]> 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.

Using an img src doesn't "embed" the image, it's fetched on the fly from
the url (if you allow remote images to be displayed).

Use something like phpmailer which can embed the images in the content
for you (saves the headaches of working it all out yourself).

http://phpmailer.codeworxtech.com/tutorial.html#4

-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to