注冊郵件無法發送的問題
看了大家的解決辦法,嘗試后都沒有成功。
1、'smtp.qq.com',25???
報錯如下:
郵件發送錯誤Failed to authenticate on SMTP server with username "[email protected]" using 1 possible authenticators
2、'smtp.qq.com',465,'ssl'
報錯如下
Warning: ?fgets(): SSL read operation timed out in D:\DL\WWW\ds1\app\swiftmailer-master\lib\classes\Swift\Transport\StreamBuffer.php on line 165
Fatal error: ?Maximum execution time of 30 seconds exceeded in D:\DL\WWW\ds1\app\swiftmailer-master\lib\classes\Swift\Transport\StreamBuffer.php on line 165
3、已經開啟了QQ郵箱的POP/SMTP,得到了一個第三方登錄的專用密碼
4、php.ini中的extension=php_openssl.dll也開啟了。
哪位大神指點指點???
補充問題:郵件發送失敗,但是注冊信息會寫進數據庫。
2016-12-29
請問您改好了嗎? 我也是這樣的錯誤
2016-10-08
講道理 應該沒有問題 應該哪里代碼敲錯了吧 ?看看全部代碼吧