Re: Send XHTML emails with images

From: Date: Fri, 05 Nov 2004 14:52:33 +0000
Subject: Re: Send XHTML emails with images
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201285@lists.php.net to get a copy of this message
Gery Duyck wrote:
Hi, I've made an XHTML page to be send as a rich e-mail so I can do more as just tekst. Everything is fine, except for the images. In the source code I say the images are like <img src="http://www.domain.com/pic.jpg" alt="" /> but wen I send the email, I can't see the images in Outlook Express or Hotmail (in browser).
Because loading of remote content is usualy forbiden in the mail readers for security and privacy reasons. You need to embed the images into the email, there are classes that will help you: http://pear.php.net/package/Mail_Mime http://www.phpclasses.org/mimemessage and others

« previous php.general (#201285) next »