0

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 Web サイトに直接アクセスすると、ログインできます

4

1 に答える 1

0

user / pass が間違っています。@rediffmail.com なしで試すか、messagerie のログイン パラメータを確認して imap との接続を許可してください。それ以外の場合は、SMTP でログインする方法を参照してください。

于 2014-10-29T07:28:57.453 に答える