diff options
author | José Valim and Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-20 23:46:59 +1100 |
---|---|---|
committer | José Valim and Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-20 23:46:59 +1100 |
commit | c34cfcc29f705c95c2218889cbec1898e008335d (patch) | |
tree | 1dd2381d4828645f072f636e81d6a87b37f13256 /actionmailer/lib/action_mailer/deprecated_api.rb | |
parent | 10c509fbfa70758ece26e8876d1c5c28f659f2f0 (diff) | |
download | rails-c34cfcc29f705c95c2218889cbec1898e008335d.tar.gz rails-c34cfcc29f705c95c2218889cbec1898e008335d.tar.bz2 rails-c34cfcc29f705c95c2218889cbec1898e008335d.zip |
Created mail method for new API
Diffstat (limited to 'actionmailer/lib/action_mailer/deprecated_api.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/deprecated_api.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/deprecated_api.rb b/actionmailer/lib/action_mailer/deprecated_api.rb index 3334b47987..e11dd4c46a 100644 --- a/actionmailer/lib/action_mailer/deprecated_api.rb +++ b/actionmailer/lib/action_mailer/deprecated_api.rb @@ -38,7 +38,7 @@ module ActionMailer private def create_mail #:nodoc: - m = @mail + m = @message m.subject, = quote_any_if_necessary(charset, subject) m.to, m.from = quote_any_address_if_necessary(charset, recipients, from) @@ -72,7 +72,7 @@ module ActionMailer m.content_transfer_encoding = '8bit' unless m.body.only_us_ascii? - @mail + @message end # Render a message but does not set it as mail body. Useful for rendering |