PHP emails can be sent locally for testing, but cannot be sent on the server.
我不是大锅
我不是大锅 2017-08-14 17:25:05
0
2
1369

Trying to smtp.163.com:465

Error: Remote host returned ""

Error: Cannot connenct to relay host smtp.163.com Error: (0)

Error: Cannot send email to XXX.com

我不是大锅
我不是大锅

reply all (2)
我不是大锅

Yes. . Doesn't https use port 465? Then Baidu asked about fsockopen. You need to configure php.ini

I see that my allow_url_fopen is on, and then disable_functions is empty and there are no restrictions.

It just doesn’t work. No solution found.

  • reply I didn't pay attention, so I wrote an answer. It won't be deleted yet. . .
    我不是大锅 author 2017-08-14 17:36:13
代码输入中...

Can’t connect to the mail server

  • reply yes. . Doesn’t https use port 465? Then Baidu asked about fsockopen. You need to configure php.ini. I see that my allow_url_fopen is on, and the end of disable_functions is empty and there are no restrictions. It just doesn't work. No solution found.
    我不是大锅 author 2017-08-14 17:34:53
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!