GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
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
dhh (author)
Mon Jan 17 09:30:15 -0800 2005
commit  baae5a1468d22700cf7bf7e35804b69d7758dd0b
tree    39d2592649cd4398fc807e16f1db34097cc46164
parent  58f920fecd5133611294412ae7e61592cc809939
...
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
0
@@ -1,3 +1,8 @@
0
+*SVN*
0
+
0
+* Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
0
+
0
+
0
 *0.6* (January 17th, 2005)
0
 
0
 * Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]
...
128
129
130
131
 
132
133
134
...
128
129
130
 
131
132
133
134
0
@@ -128,7 +128,7 @@ module ActionMailer #:nodoc:
0
         def perform_delivery_smtp(mail)
0
           Net::SMTP.start(server_settings[:address], server_settings[:port], server_settings[:domain],
0
               server_settings[:user_name], server_settings[:password], server_settings[:authentication]) do |smtp|
0
- smtp.sendmail(mail.encoded, mail.from_address, mail.destinations)
0
+ smtp.sendmail(mail.encoded, mail.from, mail.destinations)
0
           end
0
         end
0
 

Comments

    No one has commented yet.