Sending HTML e-mail with encoded images (sending a web page)

From: Date: Wed, 06 Sep 2000 11:47:54 +0000
Subject: Sending HTML e-mail with encoded images (sending a web page)
Groups: php.general 
Request: Send a blank email to php-general+get-15494@lists.php.net to get a copy of this message
Hello all! On more and more web pages nowadays, one sees things like: “Send this web page to a friend” Ideally, the web page is then sent by e-mail to the entered e-mail address with all the graphics on that web page mime encoded. Has anyone done this using PHP? Sending pure HTML to an e-mail address and displaying it in an HTML-compatible e-mail client is pretty easy, but how do I go about send the images too? Before one sends the HTML document, one could run through the HTML and replace all the relative links to images with absolute links, BUT this means that the user must be connected to the net when he reads his e-mail. (well at least to see the images :-) ) Is there anyway to somehow encode the images after the HTML file and then send everything by e-mail? In other words, how can I replicate the “Send Page” (right mouse button, context menu) of Netscape in PHP4?? Thanks for any help in advance. S. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.

« previous php.general (#15494) next »