Actionmailer - No rhtml, rxml, or delegate template


#1

I’m getting this error when I try to send an email.
No rhtml, rxml, or delegate template found for signup_thanks

But I do have signup_thanks.rhtml in app/view/notifier

This is in the notifier model.
class Notifier < ActionMailer::Base
def signup_thanks(sent_at = Time.now)
@subject = “the subject works!”
@body[“first_name”] = “first name”
@body[“last_name”] = “last name”
@recipients = “removed_email_address@domain.invalid”
@from = “removed_email_address@domain.invalid”
@sent_on = sent_at
@headers = {}
end
end


#2

I have been having the same problem, and so far have found no solution.
My app worked for about 10 minutes . . . then started doing this.

Lonny Eachus

ray wrote:

I’m getting this error when I try to send an email.
No rhtml, rxml, or delegate template found for signup_thanks