On Nov 11, 8:02 pm, RubyonRails_newbie <[email protected]>
wrote:
> In environment.rb I have:
> ActionMailer::Base.delivery_method = :sendmail
>
> and at the top of the same file I have:
> ENV['RAILS_ENV'] ||= 'production'
>
> When I try and enter an email address into the form:
> I tget an error back:
>
> SocketError in EmailController#remind
> getaddrinfo: nodename nor servname provided, or not known
That sounds like it's still trying to use smtp (but without a valid
smtp server). Did you restart the app after changing this ? With
sendmail you just need to tell rails where sendmail is (and even then
only if sendmail isn't where rails expects to find it).
Fred
>
> Has anyone else experienced this, and how do you get it up and
> running?
> Many Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---