I've got a basic mailer setup and am simply trying to get a Hello
message through.  If I go into script/console and execute

Emailer.deliver_message("[email protected]","My subject", "My
message")

it works fine.

However, if I fire up a controller with a test method that invokes the
same thing

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?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to