Hello,
I have a problem with php_imap to retrieve e-mail data.
I did not find the solution in scriptcase forum.
Code is like that:
$domain = “yourdomain.com”;
$servSmtp = “smtp.”.$domain;
$port = “143”."/novalidate-cert";
$user = “youremail”."@".$dom;
$pass = “yourpassword”;
$con = “{”.gethostbyname($servSmtp).":".$port."}INBOX";
// $con = chr(123).gethostbyname($servSmtp).":".$port.chr(125).“INBOX”;$mail_box = imap_open($con, $user, $pass);
echo imap_num_msg($mail_box);
Just a simply code in a blank return this error: “Call to undefined function imap_open()”
There’s a way to add external librarys or something?