任何人都可以告诉我如何使用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网站,我可以登录答案 0 :(得分:0)
用户/传递错误,请尝试不使用@ rediffmail.com或检查messagerie的登录参数以允许与imap连接。否则,请参阅如何使用SMTP登录。