【问题标题】:Connection to "process /usr/sbin/sendmail -bs" has been closed unexpectedly与 \"process /usr/sbin/sendmail -bs\" 的连接意外关闭
【发布时间】:2023-02-08 06:09:49
【问题描述】:

我已将我的 Laravel 5.4 版更新到版本 9。之后,除了发送电子邮件外,该项目运行良好。

与“process /usr/bin/sendmail -bs”的连接已关闭 不料

【问题讨论】:

  • 嗨阿南德!你解决了那个问题吗?因为我也有同样的经历...
  • Laravel 过去使用内置的邮件功能来发送电子邮件,但现在在版本 9 中,它使用了 SwiftMailer 库。

标签: laravel sendmail laravel-9


【解决方案1】:

请看https://talk.plesk.com/threads/removal-of-bs-option-from-plesk-sendmail-wrapper.365077/

只要 plesk 人员无法为他们的 sendmail 二进制文件提供稳定的界面,您就可以摆弄命令行选项,这些选项将在没有任何通知的情况下停止工作。或者您最好使用本机 PHP 传输 (https://symfony.com/doc/5.4/mailer.html#using-built-in-transports)。

【讨论】:

    猜你喜欢
    • 2016-11-12
    • 1970-01-01
    • 1970-01-01
    • 2017-06-11
    • 1970-01-01
    • 1970-01-01
    • 2012-08-24
    • 1970-01-01
    • 2019-09-13
    相关资源
    最近更新 更多