我已经在Outlook中创建了一个组,它的组id名称是'php@domain.com',该组中有5个成员。
所以我想在抄送中发送邮件给这个群。我在抄送中使用了'php@domain.com‘群组id名称,但是没有任何成员收到任何邮件。
$emp_email = $row["email"];
$msg = "test";
$subject = 'Happy Birthday!!';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'Cc: php@******.com' . "\r\n";
$headers .= "From: From Name <info@******.com>";
$sentmail = mail($emp_email, $subject, $msg, $headers);
here $emp_email is receiving mail but there is no any action in CC. https://stackoverflow.com/questions/41440405
复制相似问题