Re: emailing a web-page
| From: | Arjan Gijsberts | Date: | Mon, 24 Feb 2003 14:57:24 +0000 |
| Subject: | Re: emailing a web-page | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136909@lists.php.net to get a copy of this message | ||
Call to the mail function like this, notice the Content-type header to be
set to HTML
mail($emailaddress, $subject, $email, "From: Me
<$myemailaddress>\r\nContent-type: text/html; charset=iso-8859-1\r\n");
Make sure that $email contains plain text html. I guess you already know how
to generate that...
Greets,
Arjan
"Neko" <neko@swirve.com> wrote in message
news:20030224145158.97936.qmail@pb1.pair.com...
> > is it a webpage you create with php or is it a webpage that you get from
> > just any site?
>
> It's a dynamically generated page on my site - I wanted to just include
the
> url's contents into a string, or something. So no I can't cheat and just
> grab from the filesystem :)
>
> cheers,
> neko
>
>