Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top