Forum: Ruby on Rails Net::SMTPAuthenticationError

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.
Senthil (Guest)
on 2007-02-02 11:31
I got following error while trying to send mail using action mailer in
ruby on rails.  Could anybody please give me the solution for this.





Net::SMTPAuthenticationError in LoginController#add_user

503 you are already authenticated

RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace

d:/ruby/lib/ruby/1.8/net/smtp.rb:577:in `auth_plain'
d:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `__send__'
d:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `authenticate'
d:/ruby/lib/ruby/1.8/net/smtp.rb:411:in `do_start'
d:/ruby/lib/ruby/1.8/net/smtp.rb:378:in `start'
d:/ruby/lib/ruby/1.8/net/smtp.rb:316:in `start'
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:511:in
`perform_delivery_smtp'
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:397:in
`send'
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:397:in
`deliver!'
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:322:in
`deliver'
#{RAILS_ROOT}/app/controllers/login_controller.rb:22:in `add_user



regards
Senthil
This topic is locked and can not be replied to.