メールを送信する必要のあるイントラネットアプリを作成しました(少量)。sendmail
組織のSMTPサーバーを使用できなくなるため、またはを介してこれらのメールを送信する必要がありますmail
。
ただし、電子メールを次のように構成すると、次のようになります。
$config['protocol'] = 'sendmail';
私は得る:
Exit status code: 127
Unable to open a socket to Sendmail. Please check settings.
Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.
そして私が使うとき:
$config['protocol'] = 'mail';
私は得る:
Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
PHPでセットアップphpinfo()
するか、これを機能させる方法を理解するためにチェックインする必要があるものはありますか?