I’m using ActionMailer to write an email message; for the time being I’m
creating an email object, but rendering it in the browser instead of
sending it. I have code like this:
email = PasswordMailer.deliver_confirm(@member)
render(:text => “
” + email.encoded + “”)
This works great in the development environment but throws a Rails error
in production. Why would it work in one environment and not the other?