I''ve been working with ActionMailer for a few days and finally have a pretty good grasp of it. In the book I''m reading, it shows how to send to multiple users or an array of users. Is there a setting or some configuration I can do to send the email to each person separately, or would I just need to loop through each user and send one email at a time? What is the best way to accomplish this? Thanks -- Posted via http://www.ruby-forum.com/.
Each person separately? If it''s the same message to multiple people, use the bcc instead of the to. (put user one in the to, then the rest in bcc) On 6/20/06, Josh Kieschnick <jjkiesch@gmail.com> wrote:> > I''ve been working with ActionMailer for a few days and finally have a > pretty good grasp of it. In the book I''m reading, it shows how to send > to multiple users or an array of users. > > Is there a setting or some configuration I can do to send the email to > each person separately, or would I just need to loop through each user > and send one email at a time? > > What is the best way to accomplish this? > > Thanks > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060620/fa31963c/attachment.html
Brian Hogan wrote:> Each person separately? If it''s the same message to multiple people, use > the > bcc instead of the to. > (put user one in the to, then the rest in bcc)Everybody sees the email address you put in the "To:" box. Just use bcc. I haven''t done that but it should work. -- Posted via http://www.ruby-forum.com/.
ok, but if i was to send out messages that were personalize, say with their name in the email, i would just have to send one at a time correct? -- Posted via http://www.ruby-forum.com/.
also, before i was using rails, i have a program for newsletters called PHPlist that worked really well for what i needed. is there something out there for ruby on rails that does the same thing or at least something similar? -- Posted via http://www.ruby-forum.com/.
If it''s personalized messages, then they go out one at a time. That''s no different than any other language... that''s basic SMTP. Not that hard though On 6/21/06, Josh Kieschnick <jjkiesch@gmail.com> wrote:> > ok, but if i was to send out messages that were personalize, say with > their name in the email, i would just have to send one at a time > correct? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060627/acbac8dd/attachment.html