Displaying 1 result from an estimated 1 matches for "deliver_send_to_friend".
2005 Dec 24
10
can''t find view from Mailer?
...ll_friend#send_email
No rhtml, rxml, or delegate template found for send_to_friend
The scenario is this:
A form on a page is submitted to a controller "tell_friend", action
"send_email".
In tell_friend_controller.rb''s send_email(), mail is sent like this:
TellFriend.deliver_send_to_friend(params[:address])
The model, tell_friend.rb, contains this:
class TellFriend < ActionMailer::Base
def send_to_friend(address)
# Email header info MUST be added here
@recipients = address
@from = xx-q89RzV0OsXQ@public.gmane.org...