I am building a second version of this slowly and testing every step of the way. It appears to send to multiple emails (one at a time) when my email template (waue_index_4.php) only has simple static html in it. As soon as I add data, and/or set it to repeat inside my template, it stops sending to multiple emails (only sends to first email in the rs). I am using dw server behaviors to add data and repeat it inside the template.
Appears to be a conflict between the sending array, and having rs data on the email template being sent.
Is this a common issue? Do you see anything in the code I have posted that points to this as being the issue?