Method: Mail::POP3#initialize

Defined in:
lib/mail/network/retriever_methods/pop3.rb

#initialize(values) ⇒ POP3

Returns a new instance of POP3.



38
39
40
41
42
43
44
45
46
# File 'lib/mail/network/retriever_methods/pop3.rb', line 38

def initialize(values)
  self.settings = { :address              => "localhost",
                    :port                 => 110,
                    :user_name            => nil,
                    :password             => nil,
                    :authentication       => nil,
                    :enable_ssl           => false,
                    :read_timeout         => nil }.merge!(values)
end