in reply to Net::POP3 has login failure
I'm kind of grasping at straws, but I'm wondering whether you perhaps are sending something other than the correct password - such as, one followed by a newline or some other character. You might try printing out your variable surrounded by some marker character:
print "*$passwd*";to see if you get something like *goodpass *, with a non-printing character at the end (before the final asterisk).
|
|---|