Add Bcc and CC in email on php



 if($cc!="")
echo $headers .= "\r\nCc: ".$cc;
 if($cc!="")
$headers .= "\r\nCc: ".$cc;
if($bcc!="")
$headers .= "\r\nBcc: ".$bcc."\r\n\r\n";

Comments

Popular posts from this blog

Call PHP Function In JavaScript Using Ajax

List of Post Category Wise in wordpress