From: svoboda at svoon dot net Operating system: debian PHP version: 4.3.11 PHP Bug Type: IMAP related Bug description: imap_mail_compose doesn�t work properly
Description: ------------ when use charset field in part array, fction exit with segmentation fault. Reproduce code: --------------- $m_envelope["To"] = "[EMAIL PROTECTED]"; $m_part1["type"] = TYPEMULTIPART; $m_part1["subtype"] = "mixed"; $m_part2["type"] = TYPETEXT; $m_part2["subtype"] = "plain"; $m_part2["description"] = "text_message"; $m_part2["charset"] = "ISO-8859-2"; $m_part2["contents.data"] = "hello"; $m_body[1] = $m_part1; $m_body[2] = $m_part2; echo nl2br(imap_mail_compose($m_envelope, $m_body)); -- Edit bug report at http://bugs.php.net/?id=32589&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32589&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32589&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32589&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32589&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32589&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32589&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32589&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32589&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32589&r=support Expected behavior: http://bugs.php.net/fix.php?id=32589&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32589&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32589&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32589&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32589&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32589&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32589&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32589&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32589&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32589&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32589&r=mysqlcfg
