Mitch
New Member
- Messages
- 908
- Reaction score
- 0
- Points
- 0
This is my script that i got:
The thing that i want is: When someone gets a email that is send to more then one person. You only would see your email. Not the other recipients. I have tried to use bcc, but then i have to fill in $to. When you look at that email, you will see that $to (at To.
PHP:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: '.$fromname.' <'.$from.'>' . "\r\n";
//$headers .= "To: \r\n";
//$headers .= "Cc: \r\n";
//$headers .= "Bcc: ".$to."\r\n";
mail($to, $subject, $message, $headers);
The thing that i want is: When someone gets a email that is send to more then one person. You only would see your email. Not the other recipients. I have tried to use bcc, but then i have to fill in $to. When you look at that email, you will see that $to (at To.
Last edited: