vasanthgk91 has asked for the wisdom of the Perl Monks concerning the following question:
SEE my coding..how i read Inbox mail after submission?
sub loginyahoomail() { my ( $user, $password ) = @_; my $mech = WWW::Mechanize->new(); $mech->get( "https://mail.yahoo.com" ); my $c = $mech->content; if ( $c =~ m/login_form/ ) { print "Login form coming===\n"; $mech->form_name( 'login_form' ); $mech->set_fields('$user','$password'); $mech->submit(); } $c = $mech->content; print "$c"; }
After what i will do i don't know
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to read the yahoo Inbox mail using www::Mechanize module?
by marto (Cardinal) on Aug 07, 2013 at 08:10 UTC | |
|
Re: how to read the yahoo Inbox mail using www::Mechanize module?
by Anonymous Monk on Aug 07, 2013 at 06:46 UTC | |
by vasanthgk91 (Sexton) on Aug 07, 2013 at 07:40 UTC | |
by Corion (Patriarch) on Aug 07, 2013 at 08:01 UTC | |
by vasanthgk91 (Sexton) on Aug 07, 2013 at 08:29 UTC | |
by Anonymous Monk on Aug 07, 2013 at 07:52 UTC | |
|
Re: how to read the yahoo Inbox mail using www::Mechanize module?
by Anonymous Monk on Aug 07, 2013 at 13:33 UTC |