Im just having trouble getting connected to peoplepc.com webmail via imap , Here is the code :
$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
}
please can you show me what i'm doing wrong