【質問】PHP, Qdmail ライブラリのsmtpServer() のパラメータについて
Mac(OS X Yosemite 10.10.2)のローカル環境にて、Qdmail を用いて、
上記環境のMacをSMTPサーバーにして、メールを送信したいのですが、
エラーが出てしまい、送信ができません。そもそもMacをSMTPサーバーにする設定がわからないので、ご教授いただけませんでしょうか。
PHPコード
$mail->smtp(true);
$param = array(
'host' => 'localhost'
, 'port' => 25
, 'from' => 'xxx@xxx'
);
エラーメッセージ
PHP Warning: fsockopen(): unable to connect to localhost:25 (Connection refused)
何卒、よろしくお願いいたします。
Author And Source
この問題について(【質問】PHP, Qdmail ライブラリのsmtpServer() のパラメータについて), 我々は、より多くの情報をここで見つけました https://qiita.com/arata0402/items/91ecdf24eeb10f269661著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .