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)
# Email header info MUST be added here
@recipients = user.email
@from = “email@example.com”
@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
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?