From e6823bb1650d9b0fea58bd2d355f388961a408b3 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Fri, 9 May 2008 13:49:56 -0700 Subject: Added additional information about processing email with ActionMailer and the strategy one might want to employ to do so. --- actionmailer/README | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'actionmailer') diff --git a/actionmailer/README b/actionmailer/README index 67e8266e92..d9012704ad 100755 --- a/actionmailer/README +++ b/actionmailer/README @@ -78,10 +78,15 @@ Example: end end -This Mailman can be the target for Postfix. In Rails, you would use the runner like this: +This Mailman can be the target for Postfix or other MTAs. In Rails, you would use the runner in the +trivial case like this: ./script/runner 'Mailman.receive(STDIN.read)' +However, invoking Rails in the runner for each mail to be received is very resource intensive. A single +instance of Rails should be run within a daemon if it is going to be utilized to process more than just +a limited number of email. + == Configuration The Base class has the full list of configuration options. Here's an example: -- cgit v1.2.3