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

Sendmail default arguments match Mail::SendMail

Removes `-t`
This commit is contained in:
arktisklada 2016-04-05 10:40:45 -05:00
parent 106851c445
commit 23e4c968d2
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