Home  >  Q&A  >  body text

zend-framework - Does Wanwang support zend?

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

黄舟黄舟2688 days ago415

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:45:22

    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.

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-16 16:45:22

    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);

    reply
    0
  • Cancelreply