Actionmailer environment

script/runner takes a -e option which specifies the environment to use.

Fred

Worked great, thanks.

Here is the syntax from my /etc/aliases file: email_alias: "| /usr/bin/ruby /path/to/app/script/runner -e production 'IncomingMailProductRequest.receive STDIN.read'"