Z
Zach Dennis
I am moving my ruby program file from my winbox to my linux( redhat 9 ) box.
I've got ruby 1.8.1 installed on my linux box. However when I run my script
the following lines error out:
smtp = Net::SMTP::new( server )
smtp.start( domain , username , password , "cram_md5" )
It complains about:
/usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'initialize': getaddrinfo:
Name or service not known( SocketError )
from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'new'
from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'connect'
from /usr/local/lib/ruby/1.8/net/protocol.rb:82:in 'timeout'
etc...etc...etc...
It works beautifully on my Windows box. Any ideas?
Zach
I've got ruby 1.8.1 installed on my linux box. However when I run my script
the following lines error out:
smtp = Net::SMTP::new( server )
smtp.start( domain , username , password , "cram_md5" )
It complains about:
/usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'initialize': getaddrinfo:
Name or service not known( SocketError )
from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'new'
from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'connect'
from /usr/local/lib/ruby/1.8/net/protocol.rb:82:in 'timeout'
etc...etc...etc...
It works beautifully on my Windows box. Any ideas?
Zach