ID: 31142 Comment by: mcsoftware at alikuvkoutek dot cz Reported By: sean-freebsd at farley dot org Status: Feedback Bug Type: IMAP related Operating System: * PHP Version: 4CVS, 5CVS (2004-12-17) New Comment:
I hope, this is the same error as described in this bug report... CODE ---- $envelope["from"]= '[EMAIL PROTECTED]'; $envelope["return_path"]= '[EMAIL PROTECTED]'; $part1["type"]=TYPETEXT; $part1["subtype"]="plain"; $part1["encoding"]=ENCQUOTEDPRINTABLE ; $part1["charset"]='iso-8859-2'; $part1["contents.data"]=imap_8bit('asn řkl'); $body[0]=$part1; // or [1] as well $envelope = unserialize(serialize($envelope)); $body = unserialize(serialize($body)); $message = imap_mail_compose($envelope, $body); echo $message; EXPECTED RESULT --------------- e-mail message in MIME format (headers, double new line, encoded body) RESULT ------ the same text as in $part1["contents.data"]. Previous Comments: ------------------------------------------------------------------------ [2004-12-19 19:20:02] [EMAIL PROTECTED] Please provide a short example script. ------------------------------------------------------------------------ [2004-12-17 07:33:12] sean-freebsd at farley dot org Description: ------------ I noticed the problem after upgrading from PHP v4.3.4 to v4.3.10. ISMail (http://www.insidesystems.net/projects/project.php?projectid=4) stopped working. None of the headers provided in the envelope argument were being returned by the function. I also attempted running the example code (using /etc/motd for the file in the code) from the man page for this function without success: ----begin output---- --0-1804289383-1103265027=:94095--<br /> ----end output---- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31142&edit=1