diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2010-04-08 12:47:17 +1000 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-04-11 18:04:55 +1000 |
commit | dbcf01e6310bf3dc72499beb8f4161fb82143388 (patch) | |
tree | 21dbdf4dffff9203f2985ed17c8e16a6af4c0a9b /actionmailer/lib/action_mailer/old_api.rb | |
parent | 8f22be04dc28db45d16877637209bb024436ad11 (diff) | |
download | rails-dbcf01e6310bf3dc72499beb8f4161fb82143388.tar.gz rails-dbcf01e6310bf3dc72499beb8f4161fb82143388.tar.bz2 rails-dbcf01e6310bf3dc72499beb8f4161fb82143388.zip |
Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to UTF-8, updating tests where incorrect encoding
Diffstat (limited to 'actionmailer/lib/action_mailer/old_api.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/old_api.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/old_api.rb b/actionmailer/lib/action_mailer/old_api.rb index 7c59a8ae50..24c6ec8eda 100644 --- a/actionmailer/lib/action_mailer/old_api.rb +++ b/actionmailer/lib/action_mailer/old_api.rb @@ -147,8 +147,8 @@ module ActionMailer def create_mail m = @_message - quote_fields!({:subject => subject, :to => recipients, :from => from, - :bcc => bcc, :cc => cc, :reply_to => reply_to}, charset) + set_fields!({:subject => subject, :to => recipients, :from => from, + :bcc => bcc, :cc => cc, :reply_to => reply_to}, charset) m.mime_version = mime_version unless mime_version.nil? m.date = sent_on.to_time rescue sent_on if sent_on |