移除所有
您可以使用 ClearAllRecipients( ) 移除所有的收件人,包括收件人、抄送、密抄。
移除所有添加的收件人
$mail->ClearAddresses();
移除所有添加的抄送
$mail->ClearCCs();
移除所有添加的密抄
$mail->ClearBCCs();
转载请注明:悠然品鉴 » PHPMailer移除收件人Address、CC抄送、BCC密抄
您可以使用 ClearAllRecipients( ) 移除所有的收件人,包括收件人、抄送、密抄。
$mail->ClearAddresses();
$mail->ClearCCs();
$mail->ClearBCCs();
转载请注明:悠然品鉴 » PHPMailer移除收件人Address、CC抄送、BCC密抄