public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Added a config example in README #1626 [courtenay]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1788 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Sat Jul 09 10:18:01 -0700 2005
commit  0fe8e3d6c28f64cf1e35bd129595cd79a7c77091
tree    dab6f5a53715b1a2befd961424b491eb9840bf51
parent  14762fd229dfdde98bef224f198ff1ade7336b5b
...
82
83
84
 
 
 
 
 
 
 
 
 
 
 
85
86
87
...
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
0
@@ -82,6 +82,17 @@ This Mailman can be the target for Postfix. In Rails, you would use the runner l
0
 
0
   ./script/runner 'Mailman.receive(STDIN.read)'
0
 
0
+== Configuration
0
+
0
+The Base class has the full list of configuration options. Here's an example:
0
+
0
+ActionMailer::Base.server_settings = {
0
+ :address=>'smtp.yourserver.com', # default: localhost
0
+ :port=>'25', # default: 25
0
+ :user_name=>'user',
0
+ :password=>'pass',
0
+ :authentication=>:plain # :plain, :login or :cram_md5
0
+}
0
 
0
 == Dependencies
0
 
...
116
117
118
119
120
 
121
122
123
...
116
117
118
 
 
119
120
121
122
0
@@ -116,8 +116,7 @@ module ActionMailer #:nodoc:
0
   # and appear last in the mime encoded message. You can also pick a different order from inside a method with
0
   # <tt>@implicit_parts_order</tt>.
0
   class Base
0
- include ActionMailer::AdvAttrAccessor
0
- include ActionMailer::PartContainer
0
+ include AdvAttrAccessor, PartContainer
0
 
0
     private_class_method :new #:nodoc:
0
 

Comments

    No one has commented yet.