def test
Emailer.deliver_message(“[email protected]”,“My subject”, “My
message”)
end
I never see the message. Something obvious I’m missing in the context
of running it in the controller?
Shouldn’t be. Stupid question : are you sure the code is actually
getting run? (the action name may be relevant here) Is the instance of
rails serving your web request running with a different RAILS_ENV (ie
potentially different action mailer settings) ?
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.