Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
phpmailer を使用して smtp のメール エラー メッセージが表示されました。しかし、エラーメッセージのエラーコードが必要です。
どのように私はそれを取得します。
ありがとう
おそらくメールサーバーとの接続エラーです。次のように、PHP を実行しているアプリケーション サーバーからメール サーバーに telnet 接続または ping を実行してみてください。
telnet <mail_host> <port>
また、サーバーのファイアウォール設定を確認する必要があります。