Mail-Webmail-Yahoo-0.601 / yahootils.pl does not seem to work ?

Discussion in 'Perl Misc' started by coder_expert@yahoo.com, Jul 10, 2007.

  1. Guest

    Any idea why its not working... valid username and passwd are
    supplied...
    Any hints how to proceed ?


    C:\Perl\site\lib\Mail\Webmail>c:\Perl\bin\perl.exe yahootils.pl --user
    some_user -pass changed_password --trace 4



    Mail::Webmail::Yahoo: connected.
    Mail::Webmail::Yahoo: requesting login page 'http://mail.yahoo.com'.
    Mail::Webmail::Yahoo: requesting uri 'http://mail.yahoo.com' via GET.
    Mail::Webmail::Yahoo: returned code 200 .
    Use of uninitialized value in string eq at c:/Perl/site/lib/Mail/
    Webmail/Yahoo.p
    m line 269.
    Use of uninitialized value in string eq at c:/Perl/site/lib/Mail/
    Webmail/Yahoo.p
    m line 269.
    Use of uninitialized value in string eq at c:/Perl/site/lib/Mail/
    Webmail/Yahoo.p
    m line 269.
    Mail::Webmail::Yahoo: requesting uri 'http://
    world.yahoo.com/?.tries=1&.src=ym&
    ..md5=&.hash=&.js=&.last=&promo=&.intl=us&.bypass=&.partner=&.u=78p6q5d397pib&.v=
    0&.challenge=6RkFwkHuehCwrXSmscdqPp3jqGae&.yplus=&.emailCode=&pkg=&stepid=&.ev=&
    hasMsgr=0&.chkP=Y&.done=http%3A%2F%2Fmail.yahoo.com&.pd=ym_ver
    %253d0%2526c%3D&lo
    gin=chakhaaa&passwd=winchester&.save=Sign%20In' via GET.
    Mail::Webmail::Yahoo:
    parameters: .tries=1&.src=ym&.md5=&.hash=&.js=&.last=&pro
    mo=&.intl=us&.bypass=&.partner=&.u=78p6q5d397pib&.v=0&.challenge=6RkFwkHuehCwrXS
    mscdqPp3jqGae&.yplus=&.emailCode=&pkg=&stepid=&.ev=&hasMsgr=0&.chkP=Y&.done=http
    %3A%2F%2Fmail.yahoo.com&.pd=ym_ver%253d0%2526c
    %3D&login=chakhaaa&passwd=winchest
    er&.save=Sign%20In
    Mail::Webmail::Yahoo: returned code 200 .
    Mail::Webmail::Yahoo: Unable to log in (welcome page did not contain
    welcome tex
    t).
    get_mail_messages: Unable to log in (welcome page did not contain
    welcome text).


    C:\Perl\site\lib\Mail\Webmail>
     
    , Jul 10, 2007
    #1
    1. Advertising

  2. J. Gleixner Guest

    Re: Mail-Webmail-Yahoo-0.601 / yahootils.pl does not seem to work?

    wrote:
    >
    > Any idea why its not working... valid username and passwd are
    > supplied...
    > Any hints how to proceed ?
    >
    >
    > C:\Perl\site\lib\Mail\Webmail>c:\Perl\bin\perl.exe yahootils.pl --user
    > some_user -pass changed_password --trace 4

    [...]
    > Use of uninitialized value in string eq at c:/Perl/site/lib/Mail/
    > Webmail/Yahoo.p
    > m line 269.
    > Use of uninitialized value in string eq at c:/Perl/site/lib/Mail/
    > Webmail/Yahoo.p
    > m line 269.
    > Use of uninitialized value in string eq at c:/Perl/site/lib/Mail/
    > Webmail/Yahoo.p
    > m line 269.


    Ahhh.. line 269 of that module might be a start.

    > %253d0%2526c%3D&login=chakhaaa&passwd=XXXXXXXXX&.save=Sign%20In' via GET.


    Time to change your password!


    > Mail::Webmail::Yahoo: Unable to log in (welcome page did not contain
    > welcome tex
    > t).
    > get_mail_messages: Unable to log in (welcome page did not contain
    > welcome text).


    Looks like it didn't find qr{<a\s+href="/ym/ShowFolder?[^>]*>Check
    Mail</a>} in the page.

    What was the content of the page? Find out for yourself by uncommenting
    the line:

    # $self->debug($welcome_page) if $self->trace > 9;

    and set trace to 10, or change it to be '> 0'.

    I don't use it, but that's how I'd suggest you start to debug it.
     
    J. Gleixner, Jul 10, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page