Permalink
Browse files

Fix missed smtp_session changes to base.rb.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5c0227e commit 416091d8b50ac855f175c004821a5d9831e21bd0 @NZKoz NZKoz committed Jan 31, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionmailer/lib/action_mailer/base.rb
@@ -550,8 +550,8 @@ def perform_delivery_smtp(mail)
destinations = mail.destinations
mail.ready_to_send
- Net::SMTP.start(server_settings[:address], server_settings[:port], server_settings[:domain],
- server_settings[:user_name], server_settings[:password], server_settings[:authentication]) do |smtp|
+ Net::SMTP.start(smtp_settings[:address], smtp_settings[:port], smtp_settings[:domain],
+ smtp_settings[:user_name], smtp_settings[:password], smtp_settings[:authentication]) do |smtp|
smtp.sendmail(mail.encoded, mail.from, destinations)
end
end

0 comments on commit 416091d

Please sign in to comment.