Re: Embed images in emails

From: Date: Fri, 30 May 2008 06:55:34 +0000
Subject: Re: Embed images in emails
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-274871@lists.php.net to get a copy of this message
Iñigo Medina García wrote: > Hi Per, > > yep, it's true, playing with mime it can be sent as attachment, but I > don't want that but embed. > > iñigo OK, then you need to revisit what Bastien said. However, instead of <img> referring to an external image, you need to use src="cid:nnnnnnnn" where 'nnnnnnn' will refer to an attached image file with a Content-ID header. It may sound a little complicated, but it's not really difficult - if you want to know more, see RFC2111. /Per Jessen, Zürich

« previous php.general (#274871) next »