Displaying 1 result from an estimated 1 matches for "recps".
Did you mean:
recips
2007 Nov 05
0
calling a method after deliver
Hi, I am trying to call a method after message is delivered via
MyMailer.deliver_message. Is the below the same as this?
MyMailer.deliver_message
create_sent_record?
class MyMailer < ActionMailer::Base
def message( subject, body, recps, sent_at =
Time.now)
@subject =subject
@body = body
@recipients = recps
@from = ''noreply-o5qfY/2Q8gk@public.gmane.org''
@sent_on = sent_at
@headers = {}
create_sent_record # is this being called after
MyMailer.deliver_message???
e...