diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-09 17:18:01 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-09 17:18:01 +0000 |
commit | 0fe8e3d6c28f64cf1e35bd129595cd79a7c77091 (patch) | |
tree | dab6f5a53715b1a2befd961424b491eb9840bf51 /actionmailer/README | |
parent | 14762fd229dfdde98bef224f198ff1ade7336b5b (diff) | |
download | rails-0fe8e3d6c28f64cf1e35bd129595cd79a7c77091.tar.gz rails-0fe8e3d6c28f64cf1e35bd129595cd79a7c77091.tar.bz2 rails-0fe8e3d6c28f64cf1e35bd129595cd79a7c77091.zip |
Added a config example in README #1626 [courtenay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/README')
-rwxr-xr-x | actionmailer/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/actionmailer/README b/actionmailer/README index e0d5840c6f..8eb973668e 100755 --- a/actionmailer/README +++ b/actionmailer/README @@ -82,6 +82,17 @@ This Mailman can be the target for Postfix. In Rails, you would use the runner l ./script/runner 'Mailman.receive(STDIN.read)' +== Configuration + +The Base class has the full list of configuration options. Here's an example: + +ActionMailer::Base.server_settings = { + :address=>'smtp.yourserver.com', # default: localhost + :port=>'25', # default: 25 + :user_name=>'user', + :password=>'pass', + :authentication=>:plain # :plain, :login or :cram_md5 +} == Dependencies |