http://www.php.net/manual/en/function.file-get-contents.php
I was thinking of using this, however the website I want to pull the HTML from uses relative links, so that places me in a pretty pickle if I want to have the email make use of stylesheets and images. :) neko_ "Arjan Gijsberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That shouldn't be a problem. You could use fopen() to open the file. > > "Neko" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > update: > > > > I think I just need to work out how to grab a web-page and include it into > a > > string to supply to the mail I'm generating (using pear). Provided that > the > > hyperlinks aren't relative I should have a funky looking email going on.. > > > > neko > > > > "Neko" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > 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 requirement is from your > collective > > > experience? > > > > > > thanks, > > > neko > > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php