diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-26 14:43:16 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-26 14:43:16 +1100 |
commit | d0006121c581d0acadf7d46f955051be10128238 (patch) | |
tree | 6628ebb0184eebae26dbbd0ea27d9ace643a76b5 /railties | |
parent | 66aefed136ef0c087e9448d8098cea629e211144 (diff) | |
download | rails-d0006121c581d0acadf7d46f955051be10128238.tar.gz rails-d0006121c581d0acadf7d46f955051be10128238.tar.bz2 rails-d0006121c581d0acadf7d46f955051be10128238.zip |
Mention the default config.action_mailer.default options in Configuration guide
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/configuring.textile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index df56768de9..bb8561587c 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -187,7 +187,13 @@ There are a number of settings available on +config.action_mailer+: * +config.action_mailer.perform_deliveries+ specifies whether mail will actually be delivered. By default this is +true+; it can be convenient to set it to +false+ for testing. -* +config.action_mailer.default_mime_version+ is the default MIME version for the message. It defaults to +1.0+. +* +config.action_mailer.default+ configures Action Mailer defaults. These default to: +<ruby> + :mime_version => "1.0", + :charset => "UTF-8", + :content_type => "text/plain", + :parts_order => [ "text/plain", "text/enriched", "text/html" ] +</ruby> * +config.action_mailer.default_implicit_parts_order+ - When a message is built implicitly (i.e. multiple parts are assembled from templates which specify the content type in their filenames) this variable controls how the parts are ordered. Defaults to +["text/html", "text/enriched", "text/plain"]+. Items that appear first in the array have higher priority in the mail client |