Re: Embed images in emails

From: Date: Fri, 30 May 2008 06:16:04 +0000
Subject: Re: Embed images in emails
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-274866@lists.php.net to get a copy of this message
Hi Shawn, ey, that "content-disposition: inline" is new for me. Maybe it's a solution. I'll check it and tell us. thanks iñigo > Per Jessen wrote: >> Bastien Koert wrote: >> >>> 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 >> >> Not necessarily, images may simply be sent as an attachment with >> type "image/jpeg" etc. >> >> /Per Jessen, Zürich >> > > I haven't done it in a while but I believe you need a multipart mime > email with: > > Content-Type: image/jpeg > Content-Disposition: inline > > unless you want it to be a separate attachment. > > -Shawn > -- -------- Iñigo Medina García Librería Díaz de Santos Madrid (Spain) Dpt.Desarrollo

« previous php.general (#274866) next »