Displaying 1 result from an estimated 1 matches for "create_item_assign".
2006 Jan 30
5
Action Mailer woes
...= body
# breakpoint ''mailer''
# Email body substitutions go here
end
end
In the controller I have;
...
# Send the Email
@recipient = Person.find(:first, :conditions => [''id = ?'',@to_dos.user_id])
@email_address = @recipient.email_address
ItemMailer::create_item_assignment(@email_address, @to_dos.title,
@to_dos.body)
...
I dont need any fancy stuff like variable substitution, just a way to
pop the recipient, subject and body into an email object. When I try to
run this I get to the breakpoint OK so at least part of the controller
code is fine. After the br...