...
|
...
|
@@ -110,7 +110,7 @@ class SendJob { |
|
|
if(empty($to['name'])){
|
|
|
$to['name'] = explode('@',$to['email'])[0]??'';
|
|
|
}
|
|
|
$data['maildata']['body'] = str_replace('{customer_name}', ucwords($to['name']), $data['maildata']['body']);
|
|
|
$data['maildata']['body'] = str_replace(['{customer_name}','{name}'], ucwords($to['name']), $data['maildata']['body']);
|
|
|
$result = \Lib\Mail\MailFun::sendEmail($data['maildata'],$email);
|
|
|
_echo('邮件发送 '.json_encode($result,JSON_UNESCAPED_UNICODE));
|
|
|
// 插入紫薯精
|
...
|
...
|
|