mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix missed smtp_session changes to base.rb.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
5c0227edc9
commit
416091d8b5
1 changed files with 2 additions and 2 deletions
|
@ -550,8 +550,8 @@ module ActionMailer #:nodoc:
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue