#32589 [Opn->Fbk]: imap_mail_compose doesn´t work properly
| From: | tony2001@php.net | Date: | Wed, 06 Apr 2005 06:18:40 +0000 |
| Subject: | #32589 [Opn->Fbk]: imap_mail_compose doesn´t work properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76427@lists.php.net to get a copy of this message | ||
ID: 32589
Updated by: tony2001@php.net
Reported By: svoboda at svoon dot net
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: debian
PHP Version: 4.3.11
New Comment:
Because it's fixed in the next snapshot.
Please try it and tell us the results.
Previous Comments:
------------------------------------------------------------------------
[2005-04-06 08:12:00] svoboda at svoon dot net
Hello,
I have compiled PHP snapshot 200504051630, but imap_mail_compose
doesn't still work.
------------------------------------------------------------------------
[2005-04-05 16:49:22] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2005-04-05 14:59:05] svoboda at svoon dot net
Description:
------------
when use charset field in part array, fction exit with segmentation
fault.
Reproduce code:
---------------
$m_envelope["To"] = "mail@example.com";
$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 this bug report at http://bugs.php.net/?id=32589&edit=1