Thanks for the tips, Chris. Ill start looking at the documentation of
the code you pointed.

On Wed, 2004-08-04 at 17:14, Chris Devers wrote:
> On Wed, 4 Aug 2004, Sanjay Arora wrote:
> 
> > I am using RH9, postgreSQL and perl5. I would like to get my system to 
> > automatically visit a site, go to the login url, login, browse to the 
> > mail/messages link and get the messages one by one and save them in a 
> > postgreSQL database.
> 
> Okay. Do you have any code do do any of this?
> 
> If not, take a look at the CPAN modules DBI (you should already have 
> this), DBD::Pg (the PostgreSQL database driver), and LWP (available most 
> easily in cpan as Bundle::LWP). Also, WWW::Mechanize might be useful. 
> For sending mail there's many options, but Mail::Simple might be easy.
> 
BTW, its not SMTP mail I want, its webmail of the particular web-sites.
If you have any seperate pointers for this, please let me know.

> Get these installed using the CPAN shell, then look over the docs & try 
> some starter code. If you hit any stumbling blocks, let the list know.
> 
> > I would like to do this with multiple sites. Is this possible with 
> > perl? What modules do I need? Are any readymade scripts that can be 
> > adapted to my needs available?
> 
> Yes this is all possible, and done regularly by many people. The catch 
> is that everyone who does this has slightly different needs, so code for 
> doing all of this may not be available in one place. So, like I say, 
> look over the documentation for these modules and try some code to do 
> aspects of your project, and then start plugging it all together.
> 
If you know of any pieces of code, you mentioned as being scattered on
the net, please let me know, if its not too much of any effort. You see
I am newbie at perl. In fact, I code with books open in front of me and
couple of helping web-site tutorials open on my screen....referring to
them every two minutes. Understanding how somebody has done something
for another website will go a long way for my coding effort. IAC, I am
talking before I have even started....guess its my nervousness as a
newbie speaking.

Ill start looking at the documentation you mentioned and revert to the
list, in case I have any problems.

Thanks again.

With best regards.
Sanjay.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to