class method
self.default_options=
Ruby on Rails 6.1.7.10
Since v4.0.13Signature
self.default_options=(value = nil)
Allows to set defaults through app configuration:
config.action_mailer.default_options = { from: "no-reply@example.org" }
Parameters
-
valueopt = nil
Alias for
Defined in actionmailer/lib/action_mailer/base.rb
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base