Zend_Mail_Storage_Pop3 cannot display data? $ Pop & nbsp ;=& nbsp; new & nbsp; Zend_Mail_Storage_Pop3 (array ('host' = & gt; 'smtp .163.com ', & nbsp; & nbsp; Zend_Mail_Storage_Pop3 cannot display data?
$pop = new Zend_Mail_Storage_Pop3(array('host'=>'smtp.163.com',
'user'=>'aaa@163.com',
'password'=>'aaa',
'port'=>465,
'ssl'=>'ssl'));
echo $pop->countMessages().' aaaaa
';
foreach ($pop as $message) {
echo "Mail from '{$message->from}': {$message->subject}\n";
}
echo 'ccccccc
';
With this code, why can't I promise anything, and no errors will be reported during execution?
The one who used this item gave me a prompt.
------ Solution --------------------
Port error
Port 163 is: 25
------ Solution --------------------
If you change port to 25, the following message will be reported:
Application error
Exception information:
Message: last request failed
If the ssl attribute is not added, will the error be reported?
------ Solution --------------------
No one else will,
Only by yourself can you help yourself ....
------ Solution --------------------
The landlord you solve the problem... I also have zend mail... there are a lot of questions to ask? chendcwf@126.com
------ Solution --------------------
Reference:
The landlord you solve the problem... I also have zend mail... there are a lot of questions to ask? chendcwf@126.com
No solution
Depressed. I haven't solved the tragedy for a long time.