SSL Authentication using Net::POP3
am 25.06.2006 22:40:51 von Jon
Hello
I am trying to find a perl module that allows me to retrieve my email
from a server that requires SSL authentication. I am currently using
Net::POP3 and I tried all the different types of logging in such as
auth(..), login(..), and apop(..) which are sub routines defined in
Net::POP3.
None worked
Thanks
-Jon
Re: SSL Authentication using Net::POP3
am 25.06.2006 23:39:24 von Tim Heaney
"Jon" writes:
>
> I am trying to find a perl module that allows me to retrieve my email
> from a server that requires SSL authentication.
How about Mail::POP3Client?
http://search.cpan.org/~sdowd/Mail-POP3Client-2.17/POP3Clien t.pm
It will need IO::Socket::SSL (which in turn will need Net::SSLeay) for
SSL authentication to work.
use Mail::POP3Client;
$pop = Mail::POP3Client->new(USER => 'TheFakeJon@gmail.com',
PASSWORD => $passwd,
HOST => 'pop.gmail.com',
USESSL => true,
);
print "You have ", $pop->Count, " messages\n";
I hope this helps,
Tim
Re: SSL Authentication using Net::POP3
am 26.06.2006 00:43:25 von Jon
thanks
Tim Heaney wrote:
> "Jon" writes:
> >
> > I am trying to find a perl module that allows me to retrieve my email
> > from a server that requires SSL authentication.
>
> How about Mail::POP3Client?
>
> http://search.cpan.org/~sdowd/Mail-POP3Client-2.17/POP3Clien t.pm
>
> It will need IO::Socket::SSL (which in turn will need Net::SSLeay) for
> SSL authentication to work.
>
> use Mail::POP3Client;
>
> $pop = Mail::POP3Client->new(USER => 'TheFakeJon@gmail.com',
> PASSWORD => $passwd,
> HOST => 'pop.gmail.com',
> USESSL => true,
> );
> print "You have ", $pop->Count, " messages\n";
>
> I hope this helps,
>
> Tim