From: Dan Diebolt Date: 2005-12-29T18:59:06+09:00 Subject: Need Help Using Net::SMTP --0-1195016788-1135850334=:49285 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I am trying to send email from my comcast email account (say me@comcast.net) to my yahoo email accout (say me@yahoo.com) from a ruby script using net/smtp: require 'net/smtp' Net::SMTP.start("smtp.comcast.net", 25,"localhost","user","pass") do |smtp| smtp.send_message "hello","me@comcast.net","me@yahoo.com" end After trying the above ruby in irb I get the following message with no email delivered: => "250 Mail queued for delivery.\n" I don't understand how the third argument to Net::SMTP.start should be specified; its called "helo" and documentation says it defaults to 'localhost.localdomain'. I would appreciate it if anyone could point out what I am doing wrong. I am pretty sure I have the smtp, pop3 and ports identified correctly as I can send email using the command line utility postie (http://www.infradig.com/postie/index.shtml): postie -esmtp -host:smtp.comcast.net -to:me@yahoo.com -from:me@comcast.net -s:subject -msg:hello -user:user -pass:pass #Incoming mail (POP3): mail.comcast.net #Incoming mail (POP3): 110 #Outgoing mail (SMTP): smtp.comcast.net #Outgoing mail (SMTP): port is set to 25 --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-1195016788-1135850334=:49285--