Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- send contents of page in email
November 16, 2007, 3:52 am
rate this thread
Re: send contents of page in email
Why not do it from another page that reads the report.php file in as
the message and sends it out? Something ultra-simple like this?
$message = file_get_contents('report.php');
mail('firstname.lastname@example.org','My Report Subject',$message);
If you want more control over the mail message format I would
recommend using the Zend Mail class.