From: itsme213 Date: 2005-11-23T10:02:24+09:00 Subject: net/smtp question I am experimenting with SMTP mail from my local machine, to basically send an email just like my Outlook client does. But I can't figure out how to translate my Outlook settings to the parameters of SMTP.start, in particular the params: helo : I don't see such a setting in Outlook. I use a cable service provider for internet connection, the SMTP server is different (at my web host). user : is this the User Name from the Outlook account? secret : is this the Password from the Outlok account? authtype : my Outlook account has "requires authentication" OFF Thanks! require 'net/smtp' msg = "Subject: Test\n\nNow is the time\n" Net::SMTP.start('my.smtp.server,25,'my.cable.provider','my.user.name, 'password,:plain) do |smtp| # smtp.send_message msg, 'desmond.dsouza@kinetium.com', ['dedoig213@hotmail.com'] end C:experiments> c:/ruby/lib/ruby/1.8/net/smtp.rb:586:in `auth_login': 535 authorization failed (#5.7.0) (Net::SMTPAuthenticationError) from c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `__send__' from c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `authenticate' from c:/ruby/lib/ruby/1.8/net/smtp.rb:411:in `do_start' from c:/ruby/lib/ruby/1.8/net/smtp.rb:378:in `start' from c:/ruby/lib/ruby/1.8/net/smtp.rb:316:in `start' from C:/des/desktop/methods/experiments/smtp.rb:5 Process ruby exited with code 1