Re: emailing a web-page
| From: | neko | Date: | Mon, 24 Feb 2003 15:22:30 +0000 |
| Subject: | Re: emailing a web-page | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136914@lists.php.net to get a copy of this message | ||
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" <arjan@server.shuis.tudelft.nl> wrote in message
news:20030224151457.19758.qmail@pb1.pair.com...
> That shouldn't be a problem. You could use fopen() to open the file.
>
> "Neko" <neko@swirve.com> wrote in message
> news:20030224150926.14771.qmail@pb1.pair.com...
> > 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" <neko@swirve.com> wrote in message
> > news:20030224143146.78896.qmail@pb1.pair.com...
> > > 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
> > >
> > >
> >
> >
>
>