I''m trying to get my app to send an authentication email (via the
authenticated_as plugin)
I think the authenticated_as code is ok, but it''s failing when it tries
to send a mail.
getaddrinfo: Name or service not known
In environment.rb I set up the code for my mail server:
# Include your application configuration below
ActionMailer::Base.server_settings = {
:address => "http://mail.foo.com/",
:port => 25,
:domain => "http://www.foo.com",
:user_name => "vince@foo.com",
:password => "emailpsswd",
:authentication => :login
}
In the development.rb file I set the mail warning to true after which I
get this error when submitting the registration:
getaddrinfo: Name or service not known
I can post the full trace if it might be helpful. Did I forget to
uncomment some piece of code in the environment.rb or make some other
newbie mistake?
--
Posted via http://www.ruby-forum.com/.