0

我只是无法通过 imap 连接到 peoplepc.com 网络邮件,这是代码:

    $host  = "{imap.peoplepc.com:143/imap}";
    $user  = "User@peoplepc.com";
    $pass  = "Password";
    try {
        $mbox = imap_open($host, $user, $pass) or die("can't connect: " . imap_last_error());
        if ( $mbox==true) {

           //do this

        } else {
           //do this instead

        }
    }
    catch (Exception $e) {
       //handle exception 

    }

请你能告诉我我做错了什么吗

4

0 回答 0