Re: stumped on mailing a complete page
| From: | (Chris Adams) | Date: | Sun, 04 Mar 2001 02:48:39 +0000 |
| Subject: | Re: stumped on mailing a complete page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42627@lists.php.net to get a copy of this message | ||
On 3 Mar 2001 17:17:15 -0800, Brett <brett@jnewman.net> wrote:
>I want to send a confirmation email upon receiving an order, and would like
>to send the page that I display on the browser to the user.
ob_start();
// do something
mail('confirm@somewhere', 'confirmation', ob_get_contents());
ob_end_flush();