I get this error when I trying to cal this code on heroku.
Whats the solution within the heroku?
$mbox = imap_open("{imap-baxxxxxxta.net:143}", "*@baxxxx.pw", "0xxxx3");
echo "<h1>Posta kutuları</h1>
";
$folders = imap_listmailbox($mbox, "{imap-bxxxxxxxxxxet:143}", "*");
if ($folders == false) {
echo "İşlem başarısız oldu<br />
";
} else {
foreach ($folders as $val) {
echo $val . "<br />
";
}
}
Fatal error: Call to undefined function imap_open() in /app/imaptest.php on line 6