I had this error when I screwed up the 'recipients XXXXXX' line in my 
mailer model.

I had 'recipients = XXXXXX' instead of 'recipients XXXXXX'

I found this by adding some logger.info statements in:

/usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.1/lib/action_mailer/base.rb

...in the deliver! method. I then saw that there were no recipients 
being given to net::smtp


Good luck!

Something that may also help debugging, you can hack 
/usr/lib/ruby/1.8/net/smtp.rb and add a few print statements inside 
get_response, recv_response, and getok, in order to see what is actually 
coming to and from the SMTP server.

This helped me immensely. Be warned however, as this will cause ugly 
text to be printed on every app on your server that uses these 
libraries.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to