Either use BCC rather than To, or send one mail at a time within the for loop, rather than push each email to an array.
In reply to Re: Sending email by marto in thread Sending email by frank1