imap_open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried to make the simple program

<?php
$mbox = imap_open("{imap.liu.se:993}", "joape382", "WapiSse7");

echo "<h1>Mailboxes</h1>\n";
$folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*");

if ($folders == false) {
   echo "Call failed<br />\n";
} else {
   foreach ($folders as $val) {
       echo $val . "<br />\n";
   }
}

echo "<h1>Headers in INBOX</h1>\n";
$headers = imap_headers($mbox);

if ($headers == false) {
   echo "Call failed<br />\n";
} else {
   foreach ($headers as $val) {
       echo $val . "<br />\n";
   }
}

imap_close($mbox);
?>

given at http://se2.php.net/manual/sv/function.imap-open.php, but imap_open 
is not found. I'm running PHP 4.3.10. What is wrong?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux