Hi,
I was wondering if there was a way for actionmailer to not have to
render a new email message and send it seperately for each user when
everything stays the same except for one or two things.
Hi,
I was wondering if there was a way for actionmailer to not have to
render a new email message and send it seperately for each user when
everything stays the same except for one or two things.
Hi,
Le 14 mai 07, à 23:00, Aryk G. a écrit :
I was wondering if there was a way for actionmailer to not have to
render a new email message and send it seperately for each user when
everything stays the same except for one or two things.
Same purpose. I tried:
tmail = Mailing.create_mailing( {
:subject => @title,
:body => @content_html} )
test_emails.each do |dest|
tmail.to = dest
Mailing.deliver(tmail)
end
Works, except that the first mail in test_emails never receives the
mail
Better Nested Set for rails:
http://opensource.symetrie.com/trac/better_nested_set
Interesting, isn’t this the same as having an array for the recipients?
What I am saying is what if the body of the email says like “Dear
, Hows it going?” but all you wanted to do is change the name
between emails. How would we do that?
Jean-Christophe M. wrote:
Hi,
Le 14 mai 07, � 23:00, Aryk G. a �crit :
I was wondering if there was a way for actionmailer to not have to
render a new email message and send it seperately for each user when
everything stays the same except for one or two things.Same purpose. I tried:
tmail = Mailing.create_mailing( { :subject => @title, :body => @content_html} ) test_emails.each do |dest| tmail.to = dest Mailing.deliver(tmail) end
Works, except that the first mail in test_emails never receives the
Jean-Christophe M.
Better Nested Set for rails:
http://opensource.symetrie.com/trac/better_nested_set
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs