Getaddrinfo: No address associated with nodename, help?!

Can someone explain to me why this error might be returning, and help me
understand the code below:

ActionMailer::Base.delivery_method = :smtp #not using sendmail i'd
prefer smtp
ActionMailer::Base.server_settings = {
        :address                => "",   # what goes here? let's assume
I want to use my hotmail email to send these emails, would it be
        :port                  => 25, # default port, mostly?
        :domain                => "", #do I put my website domain name,
or need explanation
        :authentication        => :login,
        :user_name                => "", # do i place my hotmail login
info here, my [email protected]?
        :password                => "" # my hotmail password?
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"

I’m not as familiar with Hotmail as I am with Yahoo, Gmail, and a few
others, but you can’t send email via hotmail unless you are authorized
to do
so. And you typically have to pay for such services (Yahoo requires
you have Yahoo Plus). Any smtp server that allows you to send without
authentication would be flagged as an open relay and would pretty much
blacklisted in minutes by most smtp traffic monitoring services.

Let’s assume that you are, in fact, allowed to send mail via Hotmail.
would need to find out what the smtp server address is from their
You can’t just guess.

For example, here is what Yahoo says about their services:

Other resources:

Hope that helps you!

On Tue, May 6, 2008 at 1:04 AM, Andy Andy
[email protected]
ActionMailer::Base.default_charset = “utf-8”

Posted via

James M.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs