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:
<? $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 /> 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 <?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