From: Sean Middleditch Date: 2002-03-25T02:12:12+09:00 Subject: Re: sendmail undisclosed-recipients I could be totally wrong here, but I believe that those address you are giving it are not the To: header lines. They are the lines sent to the SMTP server. Your message needs to add a To: header line, with the recipients. On Sun, 2002-03-24 at 12:06, Chris Morris wrote: > Have the following code: > > def sendemail(msg) > Net::SMTP.start('smtp.clabs.org') do |smtp| > smtp.sendmail( msg, 'chrismo@charter.net', ['home@clabs.org'] ) > end > end > > It works, except the email I receive in Outlook says it was sent to: > "undisclosed-recipients". The header is: > > Return-Path: > Received: from mail.tgd.net ([209.81.25.10] verified) > by dc-mx01.cluster1.charter.net (CommuniGate Pro SMTP 3.5.3) > with ESMTP id 29029140 for chrismo@charter.net; Sun, 24 Mar 2002 > 12:07:01 -0500 > Received: from CM14283-A (unknown [66.190.78.131]) > by mail.tgd.net (Postfix) with ESMTP id 01BB120F05 > for ; Sun, 24 Mar 2002 08:58:29 -0800 (PST) > Subject: 0 msg in Inbox - chrismo:workmail.com > Message-Id: <20020324165829.01BB120F05@mail.tgd.net> > Date: Sun, 24 Mar 2002 08:58:29 -0800 (PST) > From: chrismo@charter.net > To: undisclosed-recipients:; > > --- > anyone know why the TO address doesn't show the TO address I passed into > sendmail? > > Chris >