Subject: | get() does not work in POP3 module |
Hi Steffen,
I tried the module, and it works; I wrote a blog post about it.
http://blogs.perl.org/users/mike_b/2013/05/pop3-with-tls-in-perl.html
But I only tried logging in and I did not try 'REALLY' using it... until now. I found out that if I use an SSL or TLS connection using your module, I can do stuff like capa() and list() without problems, but if I do get() the code 'hangs' until timeout and gives back an empty result.
If I use getfh() I can read all lines from the file handle until the last, where it again 'hangs' until the timeout.
I'm not sure what causes this; could it have anything to do with this remark I found in Net::POP3 code?
# We dont support sasl mechanisms that encrypt the socket traffic.
# todo that we would really need to change the ISA hierarchy
# so we dont inherit from IO::Socket, but instead hold it in an attribute
(ref: https://github.com/gbarr/perl-libnet/blob/master/Net/POP3.pm#L487)
--
Mike