Forum: Ruby on Rails Sending mail error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Brutyn N. (Guest)
on 2005-12-20 11:56
(Received via mailing list)
hey,
i get this message when i want to send a mail

5.3.3 AUTH not available

c:/ruby/lib/ruby/1.8/net/smtp.rb:680:in `check_response'
c:/ruby/lib/ruby/1.8/net/smtp.rb:582:in `auth_login'
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `critical'
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `auth_login'
c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `__send__'
c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `authenticate'
c:/ruby/lib/ruby/1.8/net/smtp.rb:411:in `do_start'
c:/ruby/lib/ruby/1.8/net/smtp.rb:378:in `start'
c:/ruby/lib/ruby/1.8/net/smtp.rb:316:in `start'

i have followed these instructions:
http://wiki.rubyonrails.com/rails/pages/HowToSendE...

model notifier.rb
class Notifier < ActionMailer::Base

def signup_confirmation(user)
  # Email header info MUST be added here
  @recipients = user.email
  @from = "removed_email_address@domain.invalid"
  @subject = "Action Required to Activate Account for Twodecode!"

  # Email body substitutions go here
  @body["first_name"] = user.first_name
  @body["last_name"] = user.last_name
end

end

the controller
def confirmation_mail
	user = User.find(1)
	Notifier::deliver_signup_confirmation(user)
end

signup_confirmation.rhtml
Dear <%= @first_name %> <%= @last_name %>,

Thanks for signing up with My Website!

Your account will allow you to do blah, blah, blah.

can anyone help me?

Thanks.
Nick
Tom M. (Guest)
on 2005-12-20 16:45
(Received via mailing list)
Your using AUTH, but your server doesn't support AUTH.

http://www.faqs.org/rfcs/rfc2554.html

--
-- Tom M.
This topic is locked and can not be replied to.