报错信息部分如下。
1. in J:\apitpl\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Mime\SimpleMessage.php at line 490
481482483484485486487488489490491492493494495496497498499 *
* @return int
*/
public function getPriority()
{
list($priority) = sscanf($this->getHeaderFieldModel('X-Priority'),
'%[1-5]'
);
return $priority ?? 3;
}
/**
* Ask for a delivery receipt from the recipient to be sent to $addresses.
*
* @param array $addresses
*
* @return $this
*/
2. yii\base\ErrorHandler::handleFatalError()
不明白。上网查找。找不到。
进去文件Swift\Mime\SimpleMessage.php里面看……发现是下面的双问号??出错。这个??到底是什么东西?
/**
* Get the priority of this message.
*
* The returned value is an integer where 1 is the highest priority and 5
* is the lowest.
*
* @return int
*/
pu