Re: Send a page using mail()
| From: | Torsten Roehr | Date: | Mon, 28 Jun 2004 11:38:21 +0000 |
| Subject: | Re: Send a page using mail() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189144@lists.php.net to get a copy of this message | ||
"Tom Chubb" <tom@ps-hosting.co.uk> wrote in message
news:JPEMIHJHEEGAJDFPLGHIMEPLEMAA.tom@ps-hosting.co.uk...
> I've read the manual for the mail function and extensively searched
google,
> but I can't work out how I can email an html page (actually a php page).
>
> I want to query a DB and the email the displayed table to the user.
> Any help most appreciated.
Please don't hijack threads cause your message will get lost in another
thread in newsreaders.
Why not just putting your DB content into a string and mail this to the
user? Otherwise take a look at PEAR'S Mail_Mime to send HTML emails:
http://pear.php.net/package/Mail_Mime
Regards, Torsten Roehr