...
|
...
|
@@ -295,13 +295,10 @@ class Mail { |
|
|
try {
|
|
|
|
|
|
// 没有收件人
|
|
|
if(!empty($header['To'])){
|
|
|
$header['To'] = MailFun::toOrFrom($header['To']);
|
|
|
}else{
|
|
|
$header['To'] = [];
|
|
|
}
|
|
|
$header['To'] = MailFun::toOrFrom($header['To']??($header['TO']??''));
|
|
|
|
|
|
|
|
|
$header['From'] = MailFun::toOrFrom($header['From']??'');
|
|
|
$header['From'] = MailFun::toOrFrom($header['From']??($header['FROM']??''));
|
|
|
// 抄送 ,密送
|
|
|
$cc = [];
|
|
|
$bcc = [];
|
...
|
...
|
|