ZEND_MAIL_STORAGE_POP3 cannot display data

Source: Internet
Author: User
ZEND_MAIL_STORAGE_POP3 cannot display data?

$pop = new Zend_mail_storage_pop3 (Array (' host ' = ' smtp.163.com ',
' User ' =>[email protected] ',
' 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, how can you not promise to come out, when the implementation of any error will not be reported?
The one who used this thing, give a hint.
------Solution--------------------
The port is wrong.
The port of 163 is: 25
------Solution--------------------
If the port is changed to 25, it will be reported:

Application Error
Exception Information:


If you do not add SSL to this property, it will be reported the error

------Solution--------------------
How come no one's going to
Only oneself to help oneself top up ....
------Solution--------------------
Landlord your problem solved it ... I am also having Zend Mail. Have a lot of questions to ask about it. [Email protected]
------Solution--------------------
Reference:
landlord your problem solved it ... I am also having Zend Mail. Have a lot of questions to ask about it. [Email protected]

It's not solved.
Oh, look, it's been a long time since we solved the tragedy.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.