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.
当使用Gmail的IMAP功能在后台设置时遇到接收邮件失败的问题,可以通过访问特定链接进行安全验证来解决问题。
400

被折叠的 条评论
为什么被折叠?



