如何使用imap_open()连接roadrunner

时间:2013-10-05 06:57:37

标签: php pop3

我尝试了以下所有代码,但它没有连接Roadrunner。请任何人帮助我...我想使用imap_open()来连接roadrunner的正确代码..

<?php
$imap = imap_open("{pop-server.kc.rr.com:995/pop3/ssl/novalidate-cert}INBOX", "spacemanabove@kc.rr.com","aboveall")or die("can't connect: " . imap_last_error());
?>

<?php
$imap = imap_open("{pop-server.kc.rr.com:110/pop3/ssl/novalidate-cert}INBOX", "spacemanabove@kc.rr.com","aboveall")or die("can't connect: " . imap_last_error());
?>

<?php
$imap = imap_open("{pop-server.kc.rr.com:110/pop3}INBOX", "spacemanabove@kc.rr.com","aboveall")or die("can't connect: " . imap_last_error());
?>

<?php
$imap = imap_open("{pop-server.kc.rr.com:110/pop3/notls}INBOX", "spacemanabove@kc.rr.com","aboveall")or die("can't connect: " . imap_last_error());
?>

<?php
$imap = imap_open("{pop-server.kc.rr.com:110/notls}INBOX", "spacemanabove@kc.rr.com","aboveall")or die("can't connect: " . imap_last_error());
?>

1 个答案:

答案 0 :(得分:0)

您只需使用以下服务器路径

<?php
$imap = imap_open("{pop-server.kc.rr.com}", "spacemanabove@kc.rr.com","aboveall")or die("can't connect: " . imap_last_error());
?>