Mailer_behaviour + Environments

Hi guys,

I’m having trouble getting the mailer_behaviour to send under the
production environment, when it works fine under the development
environment. all it does is load the same mailer page again, instead
of going to the thankyou page. it doesnt show any errors on the page
or in the production logfile…

I checked the environment config files for both, and i cant see any
differences that would stop it from working:

production.rb:

config.cache_classes = true
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
ResponseCache.defaults[:perform_caching] = true
config.action_mailer.raise_delivery_errors = true
ActionMailer::Base.raise_delivery_errors = true
require RADIANT_ROOT + ‘/app/models/page’

development.rb:

config.cache_classes = false
config.whiny_nils = true
config.breakpoint_server = true
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false
ResponseCache.defaults[:perform_caching] = true
config.action_mailer.raise_delivery_errors = true

any ideas what would stop it working between the two?

cheers,

michael