#31646 [Csd]: imap_mail_compose() don't work when body[][charset] has been set
ID: 31646 User updated by: webmaster at alikuvkoutek dot cz Reported By: webmaster at alikuvkoutek dot cz Status: Closed Bug Type: IMAP related Operating System: Linux PHP Version: 5CVS-2005-05-05 (dev) Assigned To: sniper New Comment: Resolved by bug 32589 (Submitted: 5 Apr 2:59pm CEST). Previous Comments: [2005-06-03 23:23:05] [EMAIL PROTECTED] Can not reproduce with latest CVS. [2005-06-01 02:18:50] martin at fronek dot slansko dot net supplement: Just the function imap_mail_compose work, not charset! Unfortunately.. [2005-06-01 02:11:41] martin at fronek dot slansko dot net The Function imap_mail_compose work, but only if the parameter "charset" is typping UPPERCASE! doesn't working example: $body[1]["charset"]='windows-1250'; working example: $body[1]["CHARSET"]='windows-1250'; The bug is in souce code of PHP, in file 'php_imap.c' on lines 2912 and 3019. Martin Fronek. [2005-05-08 21:48:05] gandie at rootshell dot cz BACKTRACE: #0 0xb79007d4 in free () from /lib/libc.so.6 #1 0x082e51ee in fs_give () #2 0x08351b47 in _IO_stdin_used () #3 0x in ?? () #4 0x in ?? () #5 0x0851d1a0 in ?? () #6 0x0882e528 in ?? () #7 0x0882e588 in ?? () #8 0x0882e520 in ?? () #9 0x082fe788 in mail_free_body_parameter () #10 0x0882e578 in ?? () #11 0x0851d1a0 in ?? () #12 0x0882e528 in ?? () #13 0x082fe5a2 in mail_free_body_data () #14 0xbfffacc4 in ?? () #15 0x0882e598 in ?? () #16 0xbfffacc0 in ?? () #17 0x082fe548 in mail_free_body () #18 0x0882e520 in ?? () #19 0x0882e694 in ?? () #20 0x0882bcbc in ?? () #21 0x0810cfc0 in zif_imap_mail_compose () #22 0x in ?? () (gdb) frame 21 #21 0x0810cfc0 in zif_imap_mail_compose () (gdb) frame 22 #22 0x in ?? () ---------------- [2005-01-21 20:58:43] webmaster at alikuvkoutek dot cz The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31646 -- Edit this bug report at http://bugs.php.net/?id=31646&edit=1
#31646 [NoF->Opn]: imap_mail_compose() don't work when body[][charset] has been set
ID: 31646 User updated by: webmaster at alikuvkoutek dot cz Reported By: webmaster at alikuvkoutek dot cz -Status: No Feedback +Status: Open Bug Type: IMAP related Operating System: Linux -PHP Version: 5CVS-2005-01-21 (dev) +PHP Version: 5CVS-2005-05-05 (dev) New Comment: Build Date May 5 2005 09:49:05 See backtrace from gandie. Previous Comments: [2005-05-08 21:48:05] gandie at rootshell dot cz BACKTRACE: #0 0xb79007d4 in free () from /lib/libc.so.6 #1 0x082e51ee in fs_give () #2 0x08351b47 in _IO_stdin_used () #3 0x in ?? () #4 0x in ?? () #5 0x0851d1a0 in ?? () #6 0x0882e528 in ?? () #7 0x0882e588 in ?? () #8 0x0882e520 in ?? () #9 0x082fe788 in mail_free_body_parameter () #10 0x0882e578 in ?? () #11 0x0851d1a0 in ?? () #12 0x0882e528 in ?? () #13 0x082fe5a2 in mail_free_body_data () #14 0xbfffacc4 in ?? () #15 0x0882e598 in ?? () #16 0xbfffacc0 in ?? () #17 0x082fe548 in mail_free_body () #18 0x0882e520 in ?? () #19 0x0882e694 in ?? () #20 0x0882bcbc in ?? () #21 0x0810cfc0 in zif_imap_mail_compose () #22 0x in ?? () (gdb) frame 21 #21 0x0810cfc0 in zif_imap_mail_compose () (gdb) frame 22 #22 0x in ?? () [2005-02-07 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2005-01-21 21:30:12] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Also, I should note that I can't reproduce it with both 5.x snapshots. ---- [2005-01-21 20:58:43] webmaster at alikuvkoutek dot cz [2005-01-21 20:47:20] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31646 -- Edit this bug report at http://bugs.php.net/?id=31646&edit=1
#31646 [Fbk->Opn]: imap_mail_compose() don't work when body[][charset] has been set
ID: 31646 User updated by: webmaster at alikuvkoutek dot cz Reported By: webmaster at alikuvkoutek dot cz -Status: Feedback +Status: Open Bug Type: IMAP related Operating System: Linux PHP Version: 5CVS-2005-01-21 (dev) New Comment: Previous Comments: [2005-01-21 20:47:20] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. [2005-01-21 19:27:01] webmaster at alikuvkoutek dot cz Description: When set $body[][charset], the imap_mail_compose() don't work. The script is terminated on that line and no output is generated. The source code and information from phpinfo() is available over the URL (links are on the top of the page). Reproduce code: --- http://www.alikuvkoutek.cz/t.php -- Edit this bug report at http://bugs.php.net/?id=31646&edit=1
#31646 [NEW]: imap_mail_compose() don't work when body[][charset] has been set
From: webmaster at alikuvkoutek dot cz Operating system: Linux PHP version: 5CVS-2005-01-21 (dev) PHP Bug Type: IMAP related Bug description: imap_mail_compose() don't work when body[][charset] has been set Description: When set $body[][charset], the imap_mail_compose() don't work. The script is terminated on that line and no output is generated. The source code and information from phpinfo() is available over the URL (links are on the top of the page). Reproduce code: --- http://www.alikuvkoutek.cz/t.php -- Edit bug report at http://bugs.php.net/?id=31646&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31646&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31646&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31646&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31646&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31646&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31646&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31646&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31646&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31646&r=support Expected behavior: http://bugs.php.net/fix.php?id=31646&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31646&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31646&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31646&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31646&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31646&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31646&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31646&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31646&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31646&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31646&r=mysqlcfg