[PHP] Embeding images in HTML emails

2002-08-20 Thread Radu Manole

Hi,

Does anyone know how to embed images in HTML emails in order to avoid a
server request (no img src=http://server/foo.img;)?
Is this possible?

Many thanks,
Radu


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




Re: [PHP] Embeding images in HTML emails

2002-08-20 Thread Michael Sims

On Tue, 20 Aug 2002 14:52:21 +0300, you wrote:

Hi,

Does anyone know how to embed images in HTML emails in order to avoid a
server request (no img src=http://server/foo.img;)?
Is this possible?

It is possible.  If you are sending a multipart MIME message, attach
the image as MIME type image/gif or image/jpeg with a particular name,
and then inside your HTML attachment reference the image like so:

img src=cid:myimage.gif;

I'm personally using a Perl module, MIME::Lite, as the basis for the
above.  There may be other ways to implement it.  I imagine that
Manuel Lemos' PHP Classes site has a class that would take care of
this for you...

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




Re: [PHP] Embeding images in HTML emails

2002-08-20 Thread Andrew Perevodchik

Hello, Michael Sims!

MS I imagine that
MS Manuel Lemos' PHP Classes site has a class that would take care of
MS this for you...

url, plz :)

-- 
Andrew Perevodchik


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




Re: [PHP] Embeding images in HTML emails

2002-08-20 Thread Stas Maximov

www.phpclasses.org

Stas

- Original Message - 
From: Andrew Perevodchik [EMAIL PROTECTED]
To: Michael Sims [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 3:06 PM
Subject: Re: [PHP] Embeding images in HTML emails


 Hello, Michael Sims!
 
 MS I imagine that
 MS Manuel Lemos' PHP Classes site has a class that would take care of
 MS this for you...
 
 url, plz :)
 
 -- 
 Andrew Perevodchik
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


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




Re: [PHP] Embeding images in HTML emails

2002-08-20 Thread Jason Wong

On Tuesday 20 August 2002 22:06, Andrew Perevodchik wrote:
 Hello, Michael Sims!

 MS I imagine that
 MS Manuel Lemos' PHP Classes site has a class that would take care of
 MS this for you...

 url, plz :)

Use your noodle:

google - Manuel Lemos PHP Classes

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Being frustrated is disagreeable, but the real disasters in life begin
when you get what you want.
*/


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