Skip to content

Commit

Permalink
fixing bug where net/imap was not being required and PLAIN authentica…
Browse files Browse the repository at this point in the history
…tion was not being added
  • Loading branch information
dweinand committed Nov 3, 2007
1 parent e30d225 commit 9d70fbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/vendor/plain_imap.rb
@@ -1,3 +1,4 @@
require 'net/imap'
# add plain as an authentication type...
# This is taken from:
# http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/net/imap.rb?revision=7657&view=markup&pathrev=10966
Expand All @@ -15,4 +16,6 @@ def initialize(user, password)
@user = user
@password = password
end
end
end

Net::IMAP.add_authenticator "PLAIN", PlainAuthenticator

0 comments on commit 9d70fbf

Please sign in to comment.