【发布时间】:2018-03-05 17:59:50
【问题描述】:
我在共享服务器上使用 Laravel 框架来运行电子商务系统,我在发送邮件时收到以下错误。
(1/1) ErrorException
proc_open() has been disabled for security reasons
in StreamBuffer.php (line 295)
at HandleExceptions->handleError(2, 'proc_open() has been disabled for security reasons', '/home/--hidden--/public_html/shop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php', 295, array('command' => '/usr/sbin/sendmail -bs', 'descriptorSpec' => array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')), 'pipes' => array()))
有没有其他方式发送邮件?
【问题讨论】:
-
@aynber 没有找到使用默认本地邮件系统而不是 smtp 的答案