Jump to content

Email help


TapeGun007

Recommended Posts

Here is my code:

 


$to = $UserEmail;
$subject = "Invitation - $UserFirstName $UserLastName";
$body = " blah blah";
$headers =  'From: [email protected]' . "\r\n".
            'Reply-To: [email protected]' . "\r\n".
            'Bcc: [email protected]'. "\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.
Link to comment
https://forums.phpfreaks.com/topic/275243-email-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.