From: Matt White Date: 2007-09-06T00:39:21+09:00 Subject: Trouble Sending Emails --0-263665157-1189006359=:36605 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hello,=0A=0AI run a script nightly which used to send e-mails when it succe= ssfully completed, but it no longer does. I'm not sure which configurations= I need to check as I haven't used net/smtp much (I inherited this script).= Any ideas?=0A=0Airb(main):001:0> require 'net/smtp'=0A=3D> true=0Airb(main= ):002:0> supplierid =3D 8=0A=3D> 8=0Airb(main):003:0> body =3D "Subje= ct: Product Import succeeded for supplier #{supplierid} at #{Time.now.to_s}= \r\n\r\n"=0A=3D> "Subject: Product Import succeeded for supplier 8 at Wed S= ep 05 09:25:26 -0600 2007\r\n\r\n"=0Airb(main):004:0> Net::SMTP.start= (mail_server, 25, helo_domain, username, password, :login) do |smtp|=0Airb(= main):005:1* smtp.send_message(body, from_address, to_address)=0Air= b(main):006:1> end=0A=3D> "250 Ok: queued as 20F73116D1AA\n"=0A=0A...= but the mail never arrives. Thanks for any assistance!=0A=0AMatt=0A=0A=0A= =0A=0A _______________________________________________________________= _____________________=0APark yourself in front of a world of choices in alt= ernative vehicles. Visit the Yahoo! Auto Green Center.=0Ahttp://autos.yahoo= .com/green_center/ --0-263665157-1189006359=:36605--