本文主要是介绍Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX Cannot connect to serve,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
gmail 第一次使用imap,在后台设置开启IMAP功能,可能会遇到接收不到邮件,报错:
Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX Cannot connect to server: Can not authenticate to IMAP server: [ALERT]
这是安全问题,需要验证,您登陆邮箱,然后访问http://accounts.google.com/DisplayUnlockCaptcha
然后点击继续,就可以了
英文参考:
I clicked the link (accounts.google.com/DisplayUnlockCaptcha) from my PC. It replied that my account was unlocked. Then when I tried the program again from AWS instance, it worked and now I can read gmail emails. This had to be locked from the beginning, but I don't know how my other servers (Netfirms and my PC) were able to read, but not AWS. One person guessed, because it was a new IP address that gmail blocked it right out of the gate.
这篇关于Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX Cannot connect to serve的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!