两个收件人的单独响应 phpmailer 函数
Separate Response for the two recipients phpmailer function
我想在 phpmailer 函数中为两个不同的收件人发送单独的回复
if($mail->addAddress($email, $name)){
$mail->Body = "Thanks for your response. our representative contact you soon....";
}
if($mail->addAddress('xxxxxxxxx@gmail.com', 'xxxx')){
$mail->Body = $message;
}
你为管理员和客户端创建单独的实例就像 Jon Striling 说的那样很容易
我想在 phpmailer 函数中为两个不同的收件人发送单独的回复
if($mail->addAddress($email, $name)){
$mail->Body = "Thanks for your response. our representative contact you soon....";
}
if($mail->addAddress('xxxxxxxxx@gmail.com', 'xxxx')){
$mail->Body = $message;
}
你为管理员和客户端创建单独的实例就像 Jon Striling 说的那样很容易