From: Dave Thomas Date: 2001-08-17T22:42:21+09:00 Subject: [ruby-talk:19943] Re: SMTP authentication Brian Marick writes: > Net::SMTP#start takes either :cram_md5 or :plain. My ISP doesn't like > either, and responds with > > 500 Command unrecognized: "AUTH CRAM-MD5 What happens if you don't specify a user name or password? In the news2mail gateway, I just do def send_mail(head, body) smtp = Net::SMTP.new smtp.start(Params::SMTP_SERVER) smtp.ready(Params::MAIL_SENDER, Params::MAILING_LIST) do |a| a.write head a.write "#{Params::LOOP_FLAG}\r\n" a.write "\r\n" a.write body end end Dave