Page 1 of 1

Email problems with imap_tutf_encode()

Posted: Mon Jun 09, 2003 12:48 pm
by lostboy
Hey All,

trying to install some email files from wrox to enable web based email....getting th following error when trying to run the file...

Fatal error: Call to undefined function: imap_utf7_encode() in /home/b/a/bastienkoert/public_html/webmail_class_final.php on line 64


this is caused by this line:

$this->mailbox = imap_utf7_encode($GLOBALS["mailbox"]);

does anyone know why this is a problem? the php website doesn't have many notes on this and indicates that is is okay for the version the host is running...4.2.3

TIA

Posted: Mon Jun 09, 2003 1:04 pm
by SBukoski
Check this link:

http://us4.php.net/manual/en/ref.imap.php

It's possible that the IMAP library was not compiled on the version of PHP that is running. What do you see concerning IMAP when you do a phpinfo() command?

Posted: Mon Jun 09, 2003 2:15 pm
by twigletmac
I've moved this to PHP - Normal, the Advanced forum is not intended for 'how to' or 'what does this error mean' type questions.

Mac