Forum: Ruby on Rails No rhtml, rxml, rjs... problem with Action Mailer, again

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Atreyu A. (Guest)
on 2006-05-30 18:22
Hi all

I have seen a lot of people writing my same problem but I haven't found
the solution yet. This is the problem:

"ActionView::ActionViewError in Periodico#index

No rhtml, rxml, rjs or delegate template found for..."

when trying to send email through action mailer.

I have created the Notifier.rb model (in app/models/ folder)

 def signupthanks(user)
       # Email header info MUST be added here
       @recipients =
       @from = "removed_email_address@domain.invalid"
       @subject = "Thank you for registering with our website"
       # Email body substitutions go here
       @body["first_name"] = user

I call it:  email=Notifier::deliver_signupthanks(@user) (in my

And I have saved (trying with different nouns) a plain text file called
signupthanks.rhtml in the /app/views/notifier/ folder. I'm sure it is
just there.

I have also set the normal settings for config/environment.rb directory.

Everything seems to be OK?

I have read that this can be an Action Mailer versions' problem, a bug
with smtp function, or a different problem. But nothing seems to work!

Can you help me?

matzun (Guest)
on 2006-06-28 11:39
atreyu a. wrote:
> No rhtml, rxml, rjs or delegate template found for..."

I had the same problem.

I commented out a line in a block
" do |config|" in app/config/environment.rb:

  config.frameworks -= [ :action_web_service :action_mailer ]


  # config.frameworks -= [ :action_web_service :action_mailer ]

, then it worked.
Tom A. (Guest)
on 2006-06-28 18:32
(Received via mailing list)
On 28/06/06, matzun <removed_email_address@domain.invalid> wrote:
>   config.frameworks -= [ :action_web_service :action_mailer ]

That line of Ruby *removes* AWS and AM from the frameworks rails
loads. You could either comment it out, or simply remove
:action_mailer from it, should you want to still NOT load AWS (and
thus save on memory).
This topic is locked and can not be replied to.