This is maybe not so much a Hobo question, as a Ruby issue, but can't
quite seem to get it right

I am trying to send an email to all Users in the application.

I have created a method to add recipients of the email...

This seems to be partially working, but not quite.

@recipients = User.all_users.each do |i|
puts i.email_address
end

Each user has a field which is an email address

The trace seems to be printing each email adress for each user, but is
assigning the user and not the user.email_address to the
recipients......

To: User1, User2, User3 etc

Rather than as I hoped....

To: [email protected], [email protected] etc

Any thoughts?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to