I have tried using the BCC in the mail function but it does not hide the address correctly with gmail. It seemed to work ok in yahoo mail though.
$to = "bcc: name@email.com";
Thats how I have it set up. Any ideas?
See example 4 here.