note 11300 rejected and deleted from imap_open by hholzgra

From: Date: Wed, 14 Feb 2001 22:58:40 +0000
Subject: note 11300 rejected and deleted from imap_open by hholzgra
Groups: php.notes 
Request: Send a blank email to php-notes+get-11087@lists.php.net to get a copy of this message
following is the code that Im trying to run: <html> <body> &lt;?php $mbox = imap_open ("{mail.biz-e-solutions.com:110}", "usernamewashere", "passwordwashere"); echo "<p><h1>Mailboxes</h1>n"; $folders = imap_listmailbox ($mbox, "{mail.biz-e-solutions.com:110}", "*"); if ($folders == false) { echo "Call failed<br>n"; } else { while (list ($key, $val) = each ($folders)) { echo $val."<br>n"; } } echo "<p><h1>Headers in INBOX</h1>n"; $headers = imap_headers ($mbox); if ($headers == false) { echo "Call failed<br>n"; } else { while (list ($key,$val) = each ($headers)) { echo $val."<br>n"; } } imap_close($mbox); ?> </body> </html> the output is: Fatal error: Call to unsupported or undefined function imap_open() in /****absolute path here****/testphp.php3 on line 4 any ideas? hello world works so I know php is working..

« previous php.notes (#11087) next »