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 = "test@xxx.com"
@from = "ror@xxx.com"
@sent_on = sent_at
@headers = {}
end
end
--
Posted via http://www.ruby-forum.com/.
Lonny Eachus
2006-May-24 01:08 UTC
[Rails] Re: actionmailer - No rhtml, rxml, or delegate template
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-- Posted via http://www.ruby-forum.com/.