[thelist] PHP send email with images *embedded*

Hans Zaunere zaunere at yahoo.com
Thu May 23 15:51:03 CDT 2002


You need to know how to creat a MIME-compliant message for attachments.
 Either read the RFCs and compose the mail yourself, or there are many
libraries for this (phpclasses.websapp.com) and PEAR.  Or just google
for "MIME PHP class" or something similar.

Hans Z.
New York PHP
http://nyphp.org



--- m u i n a r <muinar at gmx.net> wrote:
> Hi Evolters  ;)
>
> 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?
>
> (I managed to send them embedded with real URLs so they are d'loaded
> when the
> message is viewed - but here we need to send the images together with
> the
> email)
>
> I'm using Content-Disposition: inline... though the images in the
> message
> itself
> are broken while attached at the bottom instead.
>
> Tried some combinations of <img src="cid:03.gif"> in the message and
> Content-ID: <03.gif> in the header - didn't work... what is it that
> I'm
> missing here?
>
> Thanks a lot
>
> Mike
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



More information about the thelist mailing list