mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
58f920fecd
commit
baae5a1468
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
*SVN*
|
||||
|
||||
* Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
|
||||
|
||||
|
||||
*0.6* (January 17th, 2005)
|
||||
|
||||
* Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]
|
||||
|
|
|
@ -128,7 +128,7 @@ module ActionMailer #:nodoc:
|
|||
def perform_delivery_smtp(mail)
|
||||
Net::SMTP.start(server_settings[:address], server_settings[:port], server_settings[:domain],
|
||||
server_settings[:user_name], server_settings[:password], server_settings[:authentication]) do |smtp|
|
||||
smtp.sendmail(mail.encoded, mail.from_address, mail.destinations)
|
||||
smtp.sendmail(mail.encoded, mail.from, mail.destinations)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue