how to use ob_get_contents() to send a page as email

From: Date: Thu, 08 Mar 2001 23:48:50 +0000
Subject: how to use ob_get_contents() to send a page as email
Groups: php.general 
Request: Send a blank email to php-general+get-43091@lists.php.net to get a copy of this message
Hi I've tried what, one of u, has kindly suggested, to send the whole html page as email : i put at the beginning of the page <?mail('kaab_k@hotmail.com', 'confirmation', ob_get_contents()); ?> and at the end, after </html> <? ob_end_flush();?> but i receive a blank email Can u please help ! THANKS _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

« previous php.general (#43091) next »