From: "Peña, Botp" Date: 2007-09-06T13:03:19+09:00 Subject: Re: Trouble Sending Emails From: Matt White [mailto:whitethunder922@yahoo.com] # irb(main):003:0> body = "Subject: Product Import # succeeded for supplier #{supplierid} at #{Time.now.to_s}\r\n\r\n" # => "Subject: Product Import succeeded for supplier 8 at Wed # Sep 05 09:25:26 -0600 2007\r\n\r\n" # irb(main):004:0> Net::SMTP.start(mail_server, 25, # helo_domain, username, password, :login) do |smtp| # irb(main):005:1* smtp.send_message(body, # from_address, to_address) # irb(main):006:1> end # => "250 Ok: queued as 20F73116D1AA\n" at this point a. the server mail_server received your email (w ack 250 Ok) b. and further replied that it queued your mail w queueid 20F73116D1AA (surely that reply and the queueid did not come fr ruby, right?) ergo your ruby script is fine. # ...but the mail never arrives. Thanks for any assistance! it arrived on mail_server. your mail admin can better help you. kind regards -botp