# File lib/mail/configuration.rb, line 28 def lookup_delivery_method(method) case method.is_a?(String) ? method.to_sym : method when nil Mail::SMTP when :smtp Mail::SMTP when :sendmail Mail::Sendmail when :exim Mail::Exim when :file Mail::FileDelivery when :smtp_connection Mail::SMTPConnection when :test Mail::TestMailer else method end end