#35657 [Fbk]: imap_mail_compose and message/rfc822
ID: 35657
Updated by: tony2001@php.net
Reported By: laurent dot bouleau at univ-reims dot fr
Status: Feedback
Bug Type: IMAP related
Operating System: Fedora Core 4
PHP Version: 4CVS-2005-12-13 (snap)
New Comment:
And please provide the real reproduce script.
The one you've posted doesn't contain any data.
Previous Comments:
------------------------------------------------------------------------
[2005-12-13 13:10:44] derick@php.net
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
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
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.
------------------------------------------------------------------------
[2005-12-13 13:07:10] laurent dot bouleau at univ-reims dot fr
In a function like :
$enveloppe['from']=$from;
$enveloppe['to']=$to;
$enveloppe['subject']=$subject;
$enveloppe['date']=date('r');
$part[0]['type']=TYPETEXT;
$part[0]['subtype']='plain';
$part[0]['encoding']=ENCQUOTEDPRINTABLE;
$part[0]['contents.data']=$some_text;
$part[1]['type']=TYPEMESSAGE;
$part[1]['subtype']='RFC822';
$part[1]['disposition.type']='inline';
$part[1]['contents.data']=$some_rfc_822_text;
// The result of imap_mail_compose() is an
// exit signal Segmentation fault: (11)
// in apache error_log
$mail=imap_mail_compose($enveloppe,$part);
------------------------------------------------------------------------
[2005-12-13 11:11:33] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-12-13 11:07:18] laurent dot bouleau at univ-reims dot fr
Description:
------------
imap_mail_compose crash (Segmentation Fault) if a part of a message is
of type message/rfc822 (forward).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35657&edit=1
Thread (8 messages)