【问题标题】:Separate Response for the two recipients phpmailer function两个收件人的单独响应 phpmailer 功能
【发布时间】:2016-09-03 16:13:54
【问题描述】:

我想在 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;
}

【问题讨论】:

  • 创建一个新的邮件实例?
  • 如何创建?
  • 与您创建第一个的方式相同。
  • 不需要创建一个新的实例,只发送一个,改变需要改变的位,发送第二个。查看 PHPMailer 文档中的 clear* 函数。
  • Synchro 请举个例子

标签: php email gmail phpmailer


【解决方案1】:

This link may be help you

您为管理员和客户端创建单独的实例,就像 Jon Striling 所说的那样容易

【讨论】:

  • 感谢 Kousik daniel 这对我有帮助
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-06-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-01-04
相关资源
最近更新 更多