From 475bd74168a611cf0aeeda42d464aff1b3dfa806 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 26 Oct 2005 13:04:20 +0000 Subject: Fix docs (closes #2598) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/lib/action_mailer/base.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'actionmailer/lib/action_mailer/base.rb') diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index aa1fb648a0..cc996790c8 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -9,8 +9,8 @@ module ActionMailer # # class ApplicationMailer < ActionMailer::Base # # Set up properties - # # (Properties can also be specified via accessor methods - # # i.e. self.subject = "foo") and instance variables (@subject = "foo"). + # # Properties can also be specified via accessor methods + # # (i.e. self.subject = "foo") and instance variables (@subject = "foo"). # def signup_notification(recipient) # recipients recipient.email_address_with_name # subject "New account information" @@ -71,7 +71,7 @@ module ActionMailer # end # end # - # # After this post_notification will look for "templates/application_mailer/post_notification.rhtml" + # # After this, post_notification will look for "templates/application_mailer/post_notification.rhtml" # ApplicationMailer.template_root = "templates" # # ApplicationMailer.create_comment_notification(david, hello_world) # => a tmail object @@ -87,11 +87,11 @@ module ActionMailer # Can be set to nil for no logging. Compatible with both Ruby's own Logger and Log4r loggers. # # * server_settings - Allows detailed configuration of the server: - # * :address Allows you to use a remote mail server. Just change it away from it's default "localhost" setting. - # * :port On the off change that your mail server doesn't run on port 25, you can change it. + # * :address Allows you to use a remote mail server. Just change it from its default "localhost" setting. + # * :port On the off chance that your mail server doesn't run on port 25, you can change it. # * :domain If you need to specify a HELO domain, you can do it here. - # * :user_name If your mail server requires authentication, set the username and password in these two settings. - # * :password If your mail server requires authentication, set the username and password in these two settings. + # * :user_name If your mail server requires authentication, set the username in this setting. + # * :password If your mail server requires authentication, set the password in this setting. # * :authentication If your mail server requires authentication, you need to specify the authentication type here. # This is a symbol and one of :plain, :login, :cram_md5 # @@ -108,12 +108,12 @@ module ActionMailer # # * default_charset - The default charset used for the body and to encode the subject. Defaults to UTF-8. You can also # pick a different charset from inside a method with @charset. - # * default_content_type - The default content type used for main part of the message. Defaults to "text/plain". You + # * default_content_type - The default content type used for the main part of the message. Defaults to "text/plain". You # can also pick a different content type from inside a method with @content_type. # * default_mime_version - The default mime version used for the message. Defaults to nil. You # can also pick a different value from inside a method with @mime_version. When multipart messages are in # use, @mime_version will be set to "1.0" if it is not set inside a method. - # * default_implicit_parts_order - When a message is built implicitly (i.e. multiple parts are assemble from templates + # * 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 # and appear last in the mime encoded message. You can also pick a different order from inside a method with -- cgit v1.2.3