谁能告诉我如何使用 php 中的 imap_open() 函数连接到 rediff 邮件服务器。我尝试使用以下代码:
$this->conn = imap_open('{'.$this->server.'}INBOX', 'easyloanemi@rediffmail.com', 'password')or die(print_R(imap_errors()));
并得到以下错误
严重性:警告
消息:imap_open():无法打开流 {imap.rediffmail.com/notls/norsh}INBOX
和 imap_errors() 返回
Array ( [0] => LOGIN failed: Login failed. Either your user name or your password was wrong. Please try again, and if the problem persists, please contact your system administrator.
[1] => LOGIN failed: Login failed. Either your user name or your password was wrong. Please try again, and if the problem persists, please contact your system administrator.
[2] => LOGIN failed: Login failed. Either your user name or your password was wrong. Please try again, and if the problem persists, please contact your system administrator.
[3] => Too many login failures )
如果我使用凭据直接访问 rediffmail 网站,我就可以登录