Zend_Mail_Storage_Pop3不能展示数据

WBOY
Release: 2016-06-13 13:01:55
Original
1021 people have browsed it

Zend_Mail_Storage_Pop3不能显示数据?

<br />
$pop = new Zend_Mail_Storage_Pop3(array('host'=>'smtp.163.com',<br />
		                                        'user'=>'aaa@163.com',<br />
		                                        'password'=>'aaa',<br />
		                                        'port'=>465,<br />
		                                        'ssl'=>'ssl'));<br />
		<br />
		echo $pop->countMessages().' aaaaa<br/>';<br />
		foreach ($pop as $message) {<br />
            echo "Mail from '{$message->from}': {$message->subject}\n";<br />
        }<br />
        echo 'ccccccc<br/>';<br />
<br />
Copy after login


用这个代码怎么就是不能答应东西出来,执行的时候什么错误都 不会报?
有那位用个这个东西,给个提示啊.
------解决方案--------------------
端口 错了
163的port是:25
------解决方案--------------------
如果将port改为25的话会报:
<br />
Application error<br />
Exception information:<br />
Message: last request failed <br />
Copy after login

如果不加ssl这个属性的话也会报上吗的错误

------解决方案--------------------
   怎么没有人会了,
只有自己帮自己顶了....
------解决方案--------------------
楼主你的问题解决了吗...我也正在有zend mail ..有很多问题想请教呢..chendcwf@126.com
------解决方案--------------------

引用:
楼主你的问题解决了吗...我也正在有zend mail ..有很多问题想请教呢..chendcwf@126.com

没有解决 啊  
  郁闷了哦 找了很久都没有解决 悲剧
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
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!