2016-12-17 5 views
-1

でメールサーバーに接続できません、私はそれをテキストにPHPのメーラーファイルを開こうとすると、それはこのことを言う:あなたたちはそれを修正する方法をがphpmailerの

Connection: opening to smtp.gmail.com:587, timeout=300, options=array() 
Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.gmail.com:587 (No connection could be made because the target machine actively refused it.) 
SMTP ERROR: Failed to connect to server: No connection could be made because the target machine actively refused it. (10061) 
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 

知っていますか?

+0

コードスニペットは表示できますか?上に戻るまた、2分のサイトツアーも完了するように努力します。 –

+0

エラーメッセージの文書へのリンクをたどって、転記する前に検索してください。 – Synchro

+0

次の質問には、あなたの問題が何であるかはっきりしていないより意味のあるタイトルです。 – rekire

答えて

0

オンにしてくださいあなたのGmailのセキュリティ保護されていないアプリのためにアクセスそれを行うために新しい電子メールを使用することを提案します。安全性が低いからです。

https://support.google.com/accounts/answer/6010255?hl=en

+0

試しても動作しません – moran