Displaying 3 results from an estimated 3 matches for "signup_thank".
Did you mean:
signup_thanks
2006 Feb 02
1
actionmailer - No rhtml, rxml, or delegate template
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&...
2006 Jan 17
2
actionmailer
I''m getting an error when I''m tyring to use the actionmailer.
undefined method `deliver_signup_thanks'' for Notifier:Class
This is what I have in the controller.
def emailTest
Notifier::deliver_signup_thanks()
render_text "email test"
end
This is what I have in notifier model (notifier.rb)
class Notifier < ActiveRecord::Base
def signup_thanks()
# Email hea...
2005 Dec 21
0
help with sending email form
...; %><br /><br />
<input type="submit" value="Resend »" />
<%= end_form_tag %>
***********************************************************
class IndexController < ApplicationController
def index
@p = params[:index]
Notifier::deliver_signup_thanks(@p)
end
end
***********************************************************
class Notifier < ActionMailer::Base
def signup_thanks(p)
# Email header info MUST be added here
@recipients = "frocco-J3C02bkCjkfYtjvyW6yDsg@public.gmane.org"
@from = "accounts-NNbln4oHrFpl57MIdRCFDg@...