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:
commit
ff982e4188
3 changed files with 8 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue