From: Tsume Date: 2005-11-24T07:30:19+09:00 Subject: Re: net/smtp question On Thursday 24 November 2005 03:57 am, 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: > Most ISPs will just have the SMTP server open to all clients on their network. Meaning you probably don't need authentication applied to your script. The HELO is supposed to work however, what is the fail message? the HELO is supposed to be applied as the RFC states, but I really doubt it is failing. The HELO is defaulted to localhost.localdomain if you don't supply an argument for the HELO in net/smtp.rb The example I shown was me communicating with my server, which I definitely don't route through for the internet :) > 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? > I'm guessing the SMTP server was choking at the authentication. Tsume