On Friday 24 May 2002 14:09, m u i n a r wrote:
> At 06:05 24.05.02, you wrote:
> >On Friday 24 May 2002 04:15, m u i n a r wrote:
> > > Hi Listees  ;)
> > >
> > > After several hours of googling and testing, I'm asking the list for
> > > some help with this PHP mail() question: How do you send email with
> > > images *embedded* in the message?
> >
> >To find out how it was done, what I did was to use Outlook to send myself
> >some
> >html mail with embedded images then I examined the message source :)
>
> The image src is replaced by the local source of the recipient. This is
> where I'm stuck. How do you reference to the image?

I used:

  <img src='cid:piccy.jpg>

Which I think was what you had as well.

Then in the mime parts:

  Content-Type: image/jpeg; name="piccy.jpg"
  Content-Transfer-Encoding: base64
  Content-ID: <piccy.jpg>
  Content-Disposition: inline; filename="piccy.jpg"

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

/*
Certainly there are things in life that money can't buy,
But it's very funny -- did you ever try buying them without money?
                -- Ogden Nash
*/


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

Reply via email to