Hi,
I downloaded a class from php classes called "clssendmail", the class was
working on a different server
but now I get this error when I try to use it:
"Call to undefined function: imap_8bit() in............."

The class is basically to send an email in 2 parts, plain text and HTML...if
the person has html off or cannot view html email then the plain text one
will display else the HTML part will display.

After googleing I see that sometimes PHP is not compiled with Imap_8bit
which causes this problem...:-(

This is the troublesome part:

///////
 function addHtmlBodyPart($html) {
  $this->bodyParts["text/html"]="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML
4.0 Transitional//EN\">\n<html><head><meta http-equiv=Content-Type
content=\"text/html; charset=iso-8859-1\"><META content=\"MSHTML
6.00.2800.1276\"
name=GENERATOR></head><body>".imap_8bit($html)."</body></html>";
}
/////

Any work around to this problem or any idea of another class that does what
this is supposed to do and will work
on all servers? I also downloaded manuel lemos collection of mime classes
but thats toooo damn powerful for my
little task..couldnt understand half of what was in there.

Any help appreciated.

Cheers.
-Ryan

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

Reply via email to