注册邮件无法发送的问题
看了大家的解决办法,尝试后都没有成功。
1、'smtp.qq.com',25
报错如下:
邮件发送错误Failed to authenticate on SMTP server with username "1954850439@qq.com" 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也开启了。
哪位大神指点指点!?
补充问题:邮件发送失败,但是注册信息会写进数据库。