public
Description: PLEASE CHECK http://github.com/lifo/docrails/wikis
Homepage: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch
Clone URL: git://github.com/lifo/docrails.git
Added additional information about processing email with ActionMailer and 
the strategy one might want to employ to do so.
monde (author)
Fri May 09 13:49:56 -0700 2008
commit  e6823bb1650d9b0fea58bd2d355f388961a408b3
tree    d949cdacdc66284320130e0ed71f032ce750cd78
parent  c99e54f4ec67cefe11787aa9ab9d8bd006e6ca71
...
78
79
80
81
 
 
82
83
84
 
 
 
 
85
86
87
...
78
79
80
 
81
82
83
84
85
86
87
88
89
90
91
92
0
@@ -78,10 +78,15 @@ Example:
0
     end
0
   end
0
 
0
-This Mailman can be the target for Postfix. In Rails, you would use the runner like this:
0
+This Mailman can be the target for Postfix or other MTAs. In Rails, you would use the runner in the
0
+trivial case like this:
0
 
0
   ./script/runner 'Mailman.receive(STDIN.read)'
0
 
0
+However, invoking Rails in the runner for each mail to be received is very resource intensive. A single
0
+instance of Rails should be run within a daemon if it is going to be utilized to process more than just
0
+a limited number of email.
0
+
0
 == Configuration
0
 
0
 The Base class has the full list of configuration options. Here's an example:

Comments

    No one has commented yet.