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
"smtp.hotmail.com"
        :port                  => 25, # default port, mostly?
        :domain                => "", #do I put my website domain name,
or www.hotmail.com? 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
that
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
be
blacklisted in minutes by most smtp traffic monitoring services.

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

For example, here is what Yahoo says about their services:
http://help.yahoo.com/l/us/yahoo/mail/original/mailplus/pop/pop-14.html

Other resources:
http://support.netfirms.com/article.php?id=009
http://ask-leo.com/what_are_the_pop3_and_smtp_settings_for_hotmail.html

Hope that helps you!

On Tue, May 6, 2008 at 1:04 AM, Andy Andy
[email protected]
wrote:

smtp.hotmail.com
ActionMailer::Base.default_charset = “utf-8”
[/code]

Posted via http://www.ruby-forum.com/.


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