method

default

default(value = nil)
public

Sets the defaults through app configuration:

config.action_mailer.default { from: "no-reply@example.org" }

Aliased by ::default_options=