Here we go. attaching a zip file with a few files. (I had to recreate it as for the time being I needed to get a quick fix so I reverted back to my old code).
But wanted to find out why my new code was sending out the reverse list of emails that i would select in the checkbox select.
So when I recreated, its the same recreation I did when it first had this issue. I suppose I could do more testing with it if i delete all the customer orders and only kept a few email addresses that I use. least then customers wouldnt get the test emails.
Chris