...
|
...
|
@@ -123,7 +123,7 @@ class SendJob { |
|
|
//替换邮件内容中的指定字段为客户名字
|
|
|
$data['maildata']['body'] = str_replace('{customer_name}', $to['name'], $data['maildata']['body']);
|
|
|
$result = \Lib\Mail\MailFun::sendEmail($data['maildata'],$email);
|
|
|
|
|
|
_echo('邮件发送 '.json_encode($result,JSON_UNESCAPED_UNICODE));
|
|
|
// 插入紫薯精
|
|
|
db()->insert(\Model\sendJobStatusSql::$table,[
|
|
|
'job_id' => $data['id'],
|
...
|
...
|
|