Hi
i need some small help,
please check this code, why my BCC users are not getting email with this code?
Code:<?php $to = "[email protected], [email protected], [email protected]"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: domain <[email protected]>, domain <[email protected]>' . "\r\n"; $headers .= 'From: domain <[email protected]>' . "\r\n"; $headers .= 'Bcc: $to' . "\r\n"; $subject = "Testing BCC"; $body = "TEST MAIL"; mail("[email protected]",$subject,$body,$headers); echo "mail sent"; ?>![]()




Reply With Quote