ID: 31646 Updated by: [EMAIL PROTECTED] Reported By: webmaster at alikuvkoutek dot cz -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: Linux PHP Version: 5CVS-2005-01-21 (dev) New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2005-01-21 20:58:43] webmaster at alikuvkoutek dot cz <? $envelope["from"]= '[EMAIL PROTECTED]'; $envelope["return_path"]= '[EMAIL PROTECTED]'; $envelope["custom_headers"][] = "X-Priority: 3"; $body[1]["type"]=TYPETEXT; $body[1]["subtype"]="plain"; $body[1]["encoding"]=ENCQUOTEDPRINTABLE ; $body[1]["charset"]='windows-1250'; // when removed, all is ok $body[1]["contents.data"]='text'; $envelope = unserialize(serialize($envelope)); $body = unserialize(serialize($body)); echo nl2br( imap_mail_compose($envelope, $body) ); ?> <hr /> ------------------------------------------------------------------------ [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 <?php and ends 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