Re: how to use ob_get_contents() to send a page as email
| From: | kaab kaoutar | Date: | Thu, 08 Mar 2001 23:59:04 +0000 |
| Subject: | Re: how to use ob_get_contents() to send a page as email | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43094@lists.php.net to get a copy of this message | ||
OH! THANKS A LOT!!!!!!!!!! IT WORKS !
From: Aaron Tuller <mandelbaum@olywa.net> To: "kaab kaoutar" <kaab_k@hotmail.com>, php-general@lists.php.net Subject: Re: [PHP] how to use ob_get_contents() to send a page as email Date: Thu, 8 Mar 2001 15:51:42 -0800 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:_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.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