Re: [PHP] stumped on mailing a complete page

2001-03-05 Thread Chris Adams
On 3 Mar 2001 17:17:15 -0800, Brett <[EMAIL PROTECTED]> 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_e

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Simon Garner
From: "Brett" <[EMAIL PROTECTED]> > This question may have been asked a million times, but I have had no luck > searching for a difinitive answer. > > 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. > > I ca

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread kevin1
use $filearray = file("http://www.yourstite.com/yourscript.php?some_vars=whatever"); then $body = join (" ",$filearray); mail($to $subject,$body); or something like that. Maybe readfile() may be of use here to. You just want to read the page in as a string, so make sure that you use some m

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Philip Murray
Hi, This might help, its a script that'll suck in a page from your site and send it as an HTML email. Its NOWHERE near perfect, and needs alot of fixing. But it works. It relys on HTML Mime Mail class from http://www.heyes-computing.net/scripts/. But I had to make a few changes to the class to m

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Lewis Bergman
> This question may have been asked a million times, but I have had no > luck searching for a difinitive answer. > > 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. > > I can not figure out how to send a pa