我需要一次性发送多封电子邮件,有人有示例或任何想法吗?
我需要同时向所有站点用户发送邮件(所有邮件内容相同)。
目前我在循环中使用以下代码。
目前我在循环中使用以下代码。
$this->Email->from = '<no-reply@noreply.com>';
$this->Email->to = $email;
$this->Email->subject = $subject ;
$this->Email->sendAs = 'html';