Email problems with imap_tutf_encode()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lostboy
Forum Contributor
Posts: 329
Joined: Mon Dec 30, 2002 8:12 pm
Location: toronto,canada

Email problems with imap_tutf_encode()

Post 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
SBukoski
Forum Contributor
Posts: 128
Joined: Wed May 21, 2003 10:39 pm
Location: Worcester, MA

Post 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?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Post Reply