zend-framework - Does Wanwang support zend?
黄舟
黄舟 2017-05-16 16:43:22
0
2
446

Based on the code for sending emails written by zend, tested on this machine, smtp.163.com and smtp.qq.com are all very good, but it will not work when put on the Internet, and it cannot be sent at all.
Telephone customer service said it is fully supported and is zend3.2.6.
I'm confused now too

Error: Warning: stream_set_timeout(): supplied argument is not a valid stream resource in /data/home/qyu07071/htdocs/system/Zend/Mail/Protocol/Abstract.php on line 445

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
Ty80

SMTP generally relies on fsockopen. If the SMTP side uses SSL, openssl needs to be turned on. Some spaces will turn off fsockopen, so it is possible that even SMTP cannot send emails. You can use phpinfo to check whether it is disabled.

Peter_Zhu

zend is just a PHP framework, there are no special restrictions unless you fail to deploy it successfully. The problem can be simplified as Wanwangzhi does not support php to send emails. You can check whether there is SMTP through phpinfo. They are all enabled by default. I think Wanwang supports sending emails through PHP. It is recommended that you send an error message when sending fails. error_reporting(E_ALL);
display_errors(1);

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!