You can't handle any exceptions when using pop3 or I map to receive emails. hope!
Source: Internet
Author: User
I can't handle any errors of using pop3 or imap to receive emails. I hope you can stick to it !!!!! 126,163, sina, and 139 are all rows. Hotmail: imap_open (& quot; {pop.live.com: 110/pop3} INBOX & quot;, & quot; xxx & quot;, & quot; xxx & quot ;); I can't handle any errors of using pop3 or imap to receive emails. I hope you can stick to it !!!!!
126,163, sina, and 139 are all rows.
"{Imap. live. con: 993/imap/ssl} INBOX"
Imap_errors () output: [0] => Can't connect to nj. redirect. local, 993: Connection timed out
Qq: "{pop.qq.com: 110/pop3} INBOX"
Imap_errors () output: [0] => 454 POP ???? Delta ?????????????? : Http://service.mail.qq.com/cgi-bin/help? Subtype = 1 & id = 28 & no = 166 account is not enabled for pop access. for more details please visit: http://service.mail.qq.com/cgi-bin/help? Subtype = 1 & id = 28 & no = 166
[1] => POP3 connection broken in response
"{Imap.qq.com: 993/imap/ssl} INBOX"
Imap_errors () output: [0] => Can not authenticate to IMAP server:
Gmail: "{pop.gmail.com: 110/pop3} INBOX"
Imap_errors () output: [0] => Connection failed to gmail-pop.l.google.com, 110: Connection timed out
[1] => Connection failed to gmail-pop.l.google.com, 110: Connection timed out
"{Imap.gmail.com: 993/imap/ssl} INBOX" is acceptable.
------ Solution --------------------
The main problem is to understand the features supported by each mail system, such as whether pop is supported and whether ssl/tls is supported, which can be handled separately based on the actual situation. Phpmailer is recommended for good encapsulation.
------ Solution --------------------
It is estimated that it is a problem with people's mail servers. I don't want you to do this.
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.