views:

208

answers:

1

Hey, I'm using Rails 2.3.5 and using rufus scheduler to send periodic emails. This works fine in development mode, but surprise surprise production mode has borked something. I've set the same actionmailer settings in both development and production files. Is there something I am missing?

A: 

hey, yes you're right i think. The settings were set to access the server as if it was external. By that I mean I changed options like the address to localhost and commenting out others. Check it out:

:address => "localhost", :port => 25, :domain => "www.mydomain.co.uk", #:authentication => :login, #:user_name => "blah", #:password => "blah"

Hope this helps somebody else.

ro
If this is working, then please accept your own solution so it leaves the list of unanswered questions :)
Trevoke