Hi, I am having the following problem with ar_mailer. FOr the time being i have manualyy created a record for the email to be sent, in the database in a table named ''emails''. Now if I run ar_sendmail i get the follwing error. C:\Inetpub\event>ar_sendmail Unhandled exception uninitialized constant ActionMailer::ARMailer(NameError): c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:263:in `load_missing_constant'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:453:in `const_missing'' C:/Inetpub/event/app/models/email.rb:1 c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:203:in `load_without_new_constant_marking'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:203:in `load_file'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:342:in `new_constants_in'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:202:in `load_file'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:94:in `require_or_load'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:248:in `load_missing_constant'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:453:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:465:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `const_get'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `path2class'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `inject'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `inject'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `path2class'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:382:in `initialize'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:340:in `new'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:340:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/bin/ar_sendmail:5 c:/ruby/bin/ar_sendmail:16:in `load'' c:/ruby/bin/ar_sendmail:16 C:\Inetpub\event> class UserMailer < ActionMailer::ARMailer ... ... ... end Please tell me what i need to do. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---