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

From: Date: Thu, 08 Mar 2001 23:51:42 +0000
Subject: Re: how to use ob_get_contents() to send a page as email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43093@lists.php.net to get a copy of this message
put ob_start() at the beginning of your script. at the end put: mail('kaab_k@hotmail.com', 'confirmation', ob_get_contents()); ob_end_flush(); -aaron At 11:48 PM +0000 3/8/01, kaab kaoutar wrote:
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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#43093) next »