提交 23e4c968 编写于 作者: A arktisklada

Sendmail default arguments match Mail::SendMail

Removes `-t`
上级 106851c4
* 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 DeliveryMethods
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册