[英]Without swiftmailer how to send mail in laravel?
/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php,位於第496行
錯誤:
PHP解析錯誤– yii \\ base \\ ErrorException語法錯誤,意外的“?”
PHP版本5.5.14我無法在laravel中發送郵件。 當我發送郵件時,會發生上述錯誤。 我無法更改PHP版本,因為我的另一個腳本正在此PHP版本上運行。 請幫我
unexpected ?
與php 7中引入的null coalescing operator
有關。
您可以采取以下幾個方向:
v5.4.9
(例如,使用composer require swiftmailer/swiftmailer:v5.4.9
)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.