Sending mail error


#1

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:inauth_login’
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in critical' c:/ruby/lib/ruby/1.8/net/smtp.rb:581:inauth_login’
c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in __send__' c:/ruby/lib/ruby/1.8/net/smtp.rb:571:inauthenticate’
c:/ruby/lib/ruby/1.8/net/smtp.rb:411:in do_start' c:/ruby/lib/ruby/1.8/net/smtp.rb:378:instart’
c:/ruby/lib/ruby/1.8/net/smtp.rb:316:in `start’

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

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


#2

Your using AUTH, but your server doesn’t support AUTH.

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


– Tom M.