D
David Burns
I am trying to execute an example listed on
http://rubydoc.info/gems/tlsmail/0.0.1/frames.
example code begins with:
#require 'net/pop'
#pop = Net:OP3.new('pop.example.com')
#pop.start('YourAccount', 'YourPassword') # (1)
[etc. elided ...]
I copied the complete example to a file, filled in my
server/username/password info, ran it and go this error:
ruby /users/tburns/ruby/getmail.rb
/usr/lib/ruby/1.8/net/pop.rb:864:in `check_response_auth': -ERR Bad
login (Net:OPAuthenticationError)
from /usr/lib/ruby/1.8/net/pop.rb:766:in `auth'
from /usr/lib/ruby/1.8/net/pop.rb:445:in `do_start'
from /usr/lib/ruby/1.8/net/pop.rb:432:in `start'
from /users/tburns/ruby/getmail.rb:4
Apparently it bombs when executing the start method.
I am able to download email from that account with the same
username/password in thunderbird, without special ports or anything. I
am not strong in ruby yet, and I have no idea how to troubleshoot
this. I googled `check_response_auth': -ERR Bad login
(Net:OPAuthenticationError), got few hits, none helpful.
Could it be an SSL thing? I think the server is happy with or without ssl.
Anyone have a clue for me?
mahalo,
Dave
http://rubydoc.info/gems/tlsmail/0.0.1/frames.
example code begins with:
#require 'net/pop'
#pop = Net:OP3.new('pop.example.com')
#pop.start('YourAccount', 'YourPassword') # (1)
[etc. elided ...]
I copied the complete example to a file, filled in my
server/username/password info, ran it and go this error:
ruby /users/tburns/ruby/getmail.rb
/usr/lib/ruby/1.8/net/pop.rb:864:in `check_response_auth': -ERR Bad
login (Net:OPAuthenticationError)
from /usr/lib/ruby/1.8/net/pop.rb:766:in `auth'
from /usr/lib/ruby/1.8/net/pop.rb:445:in `do_start'
from /usr/lib/ruby/1.8/net/pop.rb:432:in `start'
from /users/tburns/ruby/getmail.rb:4
Apparently it bombs when executing the start method.
I am able to download email from that account with the same
username/password in thunderbird, without special ports or anything. I
am not strong in ruby yet, and I have no idea how to troubleshoot
this. I googled `check_response_auth': -ERR Bad login
(Net:OPAuthenticationError), got few hits, none helpful.
Could it be an SSL thing? I think the server is happy with or without ssl.
Anyone have a clue for me?
mahalo,
Dave