[PHP] emailing a web-page

2003-02-24 Thread neko
Hi guys, I want to automate the process of connecting to a web-page and sending it as a HTML email (like a weekly newsletter in html). I've been reading up a bit on PEAR's Mail_mime (http://pear.php.net/manual/en/core.mail.mime.php) but I just wanted to know what the fastest way to accomplish my

Re: [PHP] emailing a web-page

2003-02-24 Thread Chris Hayes
At 15:31 24/02/03, you wrote: I want to automate the process of connecting to a web-page and sending it as a HTML email (like a weekly newsletter in html). I've been reading up a bit on PEAR's Mail_mime (http://pear.php.net/manual/en/core.mail.mime.php) but I just wanted to know what the fastest

Re: [PHP] emailing a web-page

2003-02-24 Thread neko
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 -- PHP

Re: [PHP] emailing a web-page

2003-02-24 Thread Arjan Gijsberts
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