Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6698

imap localhost: Unsupported authentication mechanism.

Newsgroups comp.lang.ruby
Date 2012-12-14 04:23 -0800
References <573ce29a-77aa-4195-8260-e161f7e4f316@googlegroups.com> <d423559e-9d27-42dc-b3cf-56f4e69b9fb0@googlegroups.com>
Message-ID <f2f0b3e7-62a9-451e-a9a0-aefa85874a71@googlegroups.com> (permalink)
Subject imap localhost: Unsupported authentication mechanism.
From Thufir <hawat.thufir@gmail.com>

Show all headers | View raw


this works:


require 'net/imap'
imap = Net::IMAP.new('localhost')
imap.login('thufir','password')
puts "logged in"
imap.select('INBOX')
mailIds = imap.search(['ALL'])
mailIds.each do |id|
  msg = imap.fetch(id,'RFC822')[0].attr['RFC822']
  puts msg
end
imap.logout()
imap.disconnect()




I'll look into the distinction tomorrow.  So, of course, in asking the question I found the answer.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

imap localhost:   Unsupported authentication mechanism. Thufir <hawat.thufir@gmail.com> - 2012-12-14 03:55 -0800
  imap localhost:   Unsupported authentication mechanism. Thufir <hawat.thufir@gmail.com> - 2012-12-14 04:06 -0800
    imap localhost:   Unsupported authentication mechanism. Thufir <hawat.thufir@gmail.com> - 2012-12-14 04:23 -0800
      imap localhost:   Unsupported authentication mechanism. Thufir <hawat.thufir@gmail.com> - 2012-12-14 14:47 -0800
  Re: imap localhost:   Unsupported authentication mechanism. 1935blackhawk@gmail.com - 2014-04-16 05:00 -0700
  Re: imap localhost:   Unsupported authentication mechanism. 1935blackhawk@gmail.com - 2014-04-16 05:13 -0700

csiph-web