1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #24436 from arktisklada/matching-sendmail-default-arguments

Sendmail default arguments match Mail::SendMail
This commit is contained in:
Rafael França 2016-04-06 00:41:27 -03:00
commit ff982e4188
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
* Removes `-t` from default Sendmail arguments to match the underlying
`Mail::Sendmail` setting.
*Clayton Liggitt*
## Rails 5.0.0.beta3 (February 24, 2016) ##
* Add support for fragment caching in Action Mailer views.

View file

@ -36,7 +36,7 @@ module ActionMailer
add_delivery_method :sendmail, Mail::Sendmail,
location: '/usr/sbin/sendmail',
arguments: '-i -t'
arguments: '-i'
add_delivery_method :test, Mail::TestMailer
end

View file

@ -39,7 +39,7 @@ class DefaultsDeliveryMethodsTest < ActiveSupport::TestCase
test "default sendmail settings" do
settings = {
location: '/usr/sbin/sendmail',
arguments: '-i -t'
arguments: '-i'
}
assert_equal settings, ActionMailer::Base.sendmail_settings
end