mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3fad0cd06c
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
66 lines
No EOL
2.5 KiB
Text
66 lines
No EOL
2.5 KiB
Text
*SVN*
|
|
|
|
* Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]. Examples:
|
|
|
|
def iso_charset(recipient)
|
|
@recipients = recipient
|
|
@subject = "testing iso charsets"
|
|
@from = "system@loudthinking.com"
|
|
@body = "Nothing to see here."
|
|
@charset = "iso-8859-1"
|
|
end
|
|
|
|
def unencoded_subject(recipient)
|
|
@recipients = recipient
|
|
@subject = "testing unencoded subject"
|
|
@from = "system@loudthinking.com"
|
|
@body = "Nothing to see here."
|
|
@encode_subject = false
|
|
@charset = "iso-8859-1"
|
|
end
|
|
|
|
|
|
*0.6.1* (January 18th, 2005)
|
|
|
|
* 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]
|
|
|
|
* Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 [Eric Hodel]
|
|
|
|
|
|
*0.5*
|
|
|
|
* Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas Schwarz]. Example:
|
|
|
|
def post_notification(recipients, post)
|
|
@recipients = recipients
|
|
@from = post.author.email_address_with_name
|
|
@headers["bcc"] = SYSTEM_ADMINISTRATOR_EMAIL
|
|
@headers["reply-to"] = "notifications@example.com"
|
|
@subject = "[#{post.account.name} #{post.title}]"
|
|
@body["post"] = post
|
|
end
|
|
|
|
*0.4* (5)
|
|
|
|
* Consolidated the server configuration options into Base#server_settings= and expanded that with controls for authentication and more [Marten]
|
|
NOTE: This is an API change that could potentially break your application if you used the old application form. Please do change!
|
|
|
|
* Added Base#deliveries as an accessor for an array of emails sent out through that ActionMailer class when using the :test delivery option. [bitsweat]
|
|
|
|
* Added Base#perform_deliveries= which can be set to false to turn off the actual delivery of the email through smtp or sendmail.
|
|
This is especially useful for functional testing that shouldn't send off real emails, but still trigger delivery_* methods.
|
|
|
|
* Added option to specify delivery method with Base#delivery_method=. Default is :smtp and :sendmail is currently the only other option.
|
|
Sendmail is assumed to be present at "/usr/sbin/sendmail" if that option is used. [Kent Sibilev]
|
|
|
|
* Dropped "include TMail" as it added to much baggage into the default namespace (like Version) [Chad Fowler]
|
|
|
|
|
|
*0.3*
|
|
|
|
* First release |