" /> ">
Home Backend Development PHP Tutorial 用pop3或者i地图收邮件的各种异常,实在搞不出来,望!

用pop3或者i地图收邮件的各种异常,实在搞不出来,望!

Jun 13, 2016 pm 01:22 PM
com connection imap pop quot

用pop3或者imap收邮件的各种错误,实在搞不出来,望高手指点!!!!!
126,163,sina,139都是行的。

hotmail :imap_open("{pop.live.com:110/pop3}INBOX","xxx","xxx");
imap_errors() 输出:[0] => Connection failed to rds.live.com.nsatc.net,110: Connection timed out

"{imap.live.con:993/imap/ssl}INBOX"
imap_errors() 输出:[0] => Can't connect to nj.redirect.local,993: Connection timed out

qq :"{pop.qq.com:110/pop3}INBOX"
imap_errors() 输出:[0] => 454 POP????δ??????????????: 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() 输出:[0] => Can not authenticate to IMAP server: 

sohu: "{pop.sohu.com:110/pop3}INBOX"
imap_errors() 输出:[0] => TLS/SSL failure for pop.sohu.com: SSL negotiation failed
"{imap.sohu.com:993/imap/ssl}INBOX"
imap_errors() 输出:[0] => TLS/SSL failure for imap.sohu.com: SSL negotiation failed

gmail :"{pop.gmail.com:110/pop3}INBOX"
imap_errors() 输出:[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"是可以收到的。

------解决方案--------------------
主要问题在于,了解每个邮件系统支持的功能,比如是否支持pop,是否支持ssl/tls,根据实际情况分别处理。推荐使用phpmailer,封装的不错
------解决方案--------------------
估计是人家邮件服务器的问题。不想让你这么玩

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hongmeng native application random poetry Hongmeng native application random poetry Feb 19, 2024 pm 01:36 PM

To learn more about open source, please visit: 51CTO Hongmeng Developer Community https://ost.51cto.com Running environment DAYU200:4.0.10.16SDK: 4.0.10.15IDE: 4.0.600 1. To create an application, click File- >newFile->CreateProgect. Select template: [OpenHarmony] EmptyAbility: Fill in the project name, shici, application package name com.nut.shici, and application storage location XXX (no Chinese, special characters, or spaces). CompileSDK10, Model: Stage. Device

How to solve connection error How to solve connection error Nov 07, 2023 am 10:44 AM

Solution: 1. Check the network connection; 2. Check the server status; 3. Clear the cache and cookies; 4. Check the firewall and security software settings; 5. Try to use other networks, etc.

What does CONNECTION_REFUSED mean? What does CONNECTION_REFUSED mean? Jul 31, 2023 pm 02:48 PM

CONNECTION_REFUSED is a network connection error that usually occurs when trying to connect to a remote server. When a client device attempts to establish a network connection with a server, and the server rejects the connection request, a CONNECTION_REFUSED error is returned. Common reasons include: the server is not started, the server cannot accept more connection requests, the server firewall blocks the connection, etc.

What is the difference between comcn and com What is the difference between comcn and com May 12, 2023 pm 04:08 PM

The difference between comcn and com: 1. There are differences between comcn and com in terms of meaning, but there is no difference in access speed; 2. comcn is an international domain name and is a global top-level domain name for use by commercial institutions, while cn is a Chinese company domain name , domestic commercial institutions, domestic domain names, only enterprises can register; 3. The search priority is that cn will search for .cn first. After finding the .cn server, the .cn server will then search for .com; 4. cn is provided by cnnic China Internet Center Management, com's management organization is abroad.

PHP Warning: mysqli_connect(): (HY000/2002): Solution to Connection refused PHP Warning: mysqli_connect(): (HY000/2002): Solution to Connection refused Jun 23, 2023 am 08:54 AM

If you encounter the following error message when using PHP to connect to a MySQL database: PHPWarning:mysqli_connect():(HY000/2002):Connectionrefused, then you can try to solve this problem by following the steps below. To confirm whether the MySQL service is running normally, you should first check whether the MySQL service is running normally. If the service is not running or fails to start, it may cause a connection refused error. you can

What do pop3 and imap mean? What do pop3 and imap mean? Dec 14, 2020 am 09:39 AM

pop3 is the third version of the post office protocol, which stipulates the protocol for personal computers to connect to Internet mail servers and download e-mails; imap is the Internet mail access protocol, and mail clients can obtain mail information on the mail server through this protocol. Download and send emails, etc.

How to use PHP to implement email sending and receiving communication based on IMAP protocol How to use PHP to implement email sending and receiving communication based on IMAP protocol Jul 29, 2023 pm 08:45 PM

How to use PHP to implement email sending and receiving communication based on IMAP protocol [Introduction] In today's modern society, email has become one of the important communication tools for people. The IMAP (Internet Mail Access Protocol) protocol is widely used in the communication process of sending and receiving emails. This article will introduce how to use PHP language to implement email sending and receiving functions through IMAP protocol, and attach relevant code examples. [Basic knowledge] Before starting to write code, let’s first understand

php提交表单通过后,弹出的对话框怎样在当前页弹出,该如何解决 php提交表单通过后,弹出的对话框怎样在当前页弹出,该如何解决 Jun 13, 2016 am 10:23 AM

php提交表单通过后,弹出的对话框怎样在当前页弹出php提交表单通过后,弹出的对话框怎样在当前页弹出而不是在空白页弹出?想实现这样的效果:而不是空白页弹出:------解决方案--------------------如果你的验证用PHP在后端,那么就用Ajax;仅供参考:HTML code

See all articles