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

[cobalt-users] Don't understand if IMAP is running or not.



Hello,

I have a question on IMAP and PHP.
I executed the following program on my RAQ2:

<?
$mailbox = imap_open("{mail.myserver.com}INBOX", "user", "password");
$check = imap_check($mailbox);
imap_close($mailbox);
?>

The following error is returned:
"
  Fatal error: Call to unsupported or undefined function imap_open()
  in /home/sites/site5/web/imapchk.php3 on line 8
"

This should indicate that IMAP is not installed on the RAQ2.
But when I do a "RPM -qa" command in telnet, I see that the
rpm imap-4.4-2 is installed.
What is this package and why does my program not work.

I did check the whole filesystem for a file called imap*.so,
but nothing found. So, I guess it's ok that the program does not
work because PHP has no IMAP thingy to talk to.
But, what is this RPM then?

Thanks for your answers.

Regards,

Bert Catsburg