lib/padrino-mailer/delivery.rb in padrino-mailer-0.2.2 vs lib/padrino-mailer/delivery.rb in padrino-mailer-0.2.5

- old
+ new

@@ -79,10 +79,10 @@ if o[:tls] raise "You may need: gem install smtp_tls" unless smtp.respond_to?(:enable_starttls) smtp.enable_starttls end if o.include?(:auth) - smtp.start(o[:domain], o[:user], o[:password], o[:auth]) + smtp.start(o[:domain], o[:user], o[:pass] || o[:password], o[:auth]) else smtp.start(o[:domain]) end smtp.send_message tmail.to_s, tmail.from, tmail.to smtp.finish