Here is my code:
$to = $UserEmail; $subject = "Invitation - $UserFirstName $UserLastName"; $body = " blah blah"; $headers = 'From: johndoe@gmail.com' . "\r\n". 'Reply-To: johndoe@gmail.com' . "\r\n". 'Bcc: johndoe@gmail.com'. "\r\n"; if (mail($to, $subject, $body, $headers)) { . . . }
The code works great, except for one thing. The BCC does not work at all. Everything I read seems that I'm doing the correct thing, so apparently, I need a 2nd set of eyes...
Thanks.