From: Hugh Sasse Date: 2005-11-24T04:08:50+09:00 Subject: Re: net/smtp question On Thu, 24 Nov 2005, itsme213 wrote: > I tried -12-34-34-2.myisp.com and it failed. > > Then ... Ouch! I just tried removing my email login, password, and even HELO > info: > > msg = "Subject: Test\n\nNow is the time\n" > > Net::SMTP.start('smtp.server',25) do |smtp| > smtp.send_message msg, 'a.valid.email.address@server.com, > ['receiver.address@receiver.com] > end > > And it went through fine. I am a bit taken aback that there appears to be no > checking done at all. Is this normal? > > Thanks! Going by the headers in that message: Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by sinus.lauschmusik.de with esmtp (Exim 4.50) id 1Eezll-00068m-O3 for ruby-talk@ruby-lang.org; Wed, 23 Nov 2005 19:55:01 +0100 your smtp host is running exim, which will figure most of this out anyway. and it depends how much checking the admin has put into the config as to what is and what is not accepted. http://www.exim.org for more than you wanted to know about this. Hugh