I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for exception_notification_ in /var/rails/nick_warren/releases/ 20080303165433/vendor/plugins/exception_notification/lib/../views/ exception_notifier): /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:401:in `find_template_extension_for'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:332:in `pick_template_extension'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:249:in `render_file'' (eval):4:in `render_message'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:424:in `create!'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:385:in `initialize'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:333:in `new'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:333:in `method_missing'' /var/rails/nick_warren/releases/20080303165433/vendor/plugins/ exception_notification/lib/exception_notifiable.rb:95:in `rescue_action_in_public'' obviously this comes from the exception notifier plugin: ExceptionNotifier.deliver_exception_notification(exception, self, request, data) Has anybody else seen this? Any ideas on how to get this working? Thanks, Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
For what it''s worth... First, try using your own ActionMailer model and sending an email, to see if it fails. Second, have you updated exception_notification? Do so, especially if you rails version has changed. On Mar 4, 2:51 pm, Andrew Selder <asel...-ee4meeAH724@public.gmane.org> wrote:> I''ve recently run into a problem with one of my applications that > refuses to send emails using ActionMailer. > > Looking at the log, it become obvious what''s happening, the system is > looking for templates with underscores at the end. Notice the > exception_notification_ . > > For example: > ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template > found for exception_notification_ in /var/rails/nick_warren/releases/ > 20080303165433/vendor/plugins/exception_notification/lib/../views/ > exception_notifier): > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ > base.rb:401:in `find_template_extension_for'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ > base.rb:332:in `pick_template_extension'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ > base.rb:249:in `render_file'' > (eval):4:in `render_message'' > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > base.rb:424:in `create!'' > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > base.rb:385:in `initialize'' > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > base.rb:333:in `new'' > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > base.rb:333:in `method_missing'' > /var/rails/nick_warren/releases/20080303165433/vendor/plugins/ > exception_notification/lib/exception_notifiable.rb:95:in > `rescue_action_in_public'' > > obviously this comes from the exception notifier plugin: > > ExceptionNotifier.deliver_exception_notification(exception, self, > request, data) > > Has anybody else seen this? Any ideas on how to get this working? > > Thanks, > > Andrew--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i had a similar problem after using a 3rd party plugin which did some internationalization things that overrode the actionmailer method for finding the template so it could append a localization label eg. _uk or _fr or whatever. Check you haven''t got something like that going on....though i can''t see it in the stack trace there. On Mar 4, 11:38 pm, tshim <humanorien...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> For what it''s worth... > > First, try using your own ActionMailer model and sending an email, to > see if it fails. > > Second, have you updated exception_notification? Do so, especially if > you rails version has changed. > > On Mar 4, 2:51 pm, Andrew Selder <asel...-ee4meeAH724@public.gmane.org> wrote: > > > I''ve recently run into a problem with one of my applications that > > refuses to send emails using ActionMailer. > > > Looking at the log, it become obvious what''s happening, the system is > > looking for templates with underscores at the end. Notice the > > exception_notification_ . > > > For example: > > ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template > > found for exception_notification_ in /var/rails/nick_warren/releases/ > > 20080303165433/vendor/plugins/exception_notification/lib/../views/ > > exception_notifier): > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ > > base.rb:401:in `find_template_extension_for'' > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ > > base.rb:332:in `pick_template_extension'' > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ > > base.rb:249:in `render_file'' > > (eval):4:in `render_message'' > > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > > base.rb:424:in `create!'' > > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > > base.rb:385:in `initialize'' > > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > > base.rb:333:in `new'' > > /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ > > base.rb:333:in `method_missing'' > > /var/rails/nick_warren/releases/20080303165433/vendor/plugins/ > > exception_notification/lib/exception_notifiable.rb:95:in > > `rescue_action_in_public'' > > > obviously this comes from the exception notifier plugin: > > > ExceptionNotifier.deliver_exception_notification(exception, self, > > request, data) > > > Has anybody else seen this? Any ideas on how to get this working? > > > Thanks, > > > Andrew--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- NameError when running exception_notification plugin?
- actionmailer cant find template in backgroundrb
- Action Mailer contact form
- undefined method `respond_to'' when using Exception Notifier Plugin
- exception_notification plugin not sending mails in development on localhost