I''m trying to get Rails to send an email using a form. When the send
button
is clicked, this is the error message. I have checked that the user name and
password are correct. Thanks for the help.
Ruby version 1.8.3.
Rails version: ?? ( how do I tell ?)
both user and secret are required
RAILS_ROOT: ./../config/../
Application
Trace<http://www.homeschoolreviews.net/hsr/reviews/send_to_admin#>|
Framework
Trace <http://www.homeschoolreviews.net/hsr/reviews/send_to_admin#> | Full
Trace <http://www.homeschoolreviews.net/hsr/reviews/send_to_admin#>
/usr/lib/ruby/1.8/net/smtp.rb:563:in `check_auth_args''
/usr/lib/ruby/1.8/net/smtp.rb:391:in `do_start''
/usr/lib/ruby/1.8/net/smtp.rb:378:in `start''
/usr/lib/ruby/1.8/net/smtp.rb:316:in `start''
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.2/lib/action_mailer/base.rb:437:in
`perform_delivery_smtp''
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.2/lib/action_mailer/base.rb:327:in
`send''
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.2/lib/action_mailer/base.rb:327:in
`deliver!''
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.2/lib/action_mailer/base.rb:223:in
`method_missing''
*#{RAILS_ROOT}*app/controllers/reviews_controller.rb:146:in
`send_to_admin''
I think I''ve set up my environment.rb correctly:
# Include your app''s configuration here:
ActionMailer::Base.server_settings = {
:address => "mail.homeschoolreviews.net
<http://mail.homeschoolreviews.net>
",
:port => 25,
:domain => "homeschoolreviews.net
<http://homeschoolreviews.net>",
:authentication => :login,
:username => "admin",
:password => "<my password>"
}
ActionMailer::Base.default_charset = "utf-8"
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails