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 = “[email protected]”
@from = “[email protected]”
@sent_on = sent_at
@headers = {}
end
end