作者 邓超

x

... ... @@ -4,7 +4,7 @@ namespace Controller;
use Lib\Mail\Mail;
use Model\emailSql;
use mysql_xdevapi\Exception;
/**
... ...
... ... @@ -231,9 +231,9 @@ class Mail {
try {
if(empty($header['Subject'])){
logs($result);
}
// if(empty($header['Subject'])){
// logs($result);
// }
// 没有收件人
if(!empty($header['To'])){
... ... @@ -257,7 +257,7 @@ class Mail {
$data = [
'msgno' => $key,
'uid' => $result['UID'],
'subject' => $header['Subject'],
'subject' => $header['Subject']??'',
'cc' => $cc,
'bcc' => $bcc,
'from' => $header['From'][0]['email']??'',
... ...
<?php
namespace Model;
use Lib\DbPool;
/**
* body
* @author:dc
* @time 2023/3/23 10:13
* Class bodySql
* @package Model
*/
class hostSql {
public static $table = 'hosts';
}
... ...