mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
Mail: Fix event detection in multipart mixed mails
Meeting form was not presented, just request content
This commit is contained in:
parent
cfcd56fd00
commit
faa1e17460
@ -4729,13 +4729,18 @@ class Mail
|
|||||||
case 'text':
|
case 'text':
|
||||||
switch($part->getSubType())
|
switch($part->getSubType())
|
||||||
{
|
{
|
||||||
|
case 'calendar': // inline ics/ical files
|
||||||
|
if($part->getBytes() > 0)
|
||||||
|
{
|
||||||
|
$partCalendar = $part;
|
||||||
|
}
|
||||||
|
// Fall through in case user has no calendar access
|
||||||
case 'plain':
|
case 'plain':
|
||||||
case 'html':
|
case 'html':
|
||||||
case 'calendar': // inline ics/ical files
|
|
||||||
if($part->getDisposition() != 'attachment')
|
if($part->getDisposition() != 'attachment')
|
||||||
{
|
{
|
||||||
$bodyPart[] = $this->getTextPart($_uid, $part, $_htmlMode, $_preserveSeen);
|
$bodyPart[] = $this->getTextPart($_uid, $part, $_htmlMode, $_preserveSeen);
|
||||||
$skipParts[$mime_id]=$mime_type;
|
$skipParts[$mime_id] = $mime_type;
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__.' ('.__LINE__.') '.' ->'.$part->type."/".$part->subType.' -> BodyPart:'.array2string($bodyPart[count($bodyPart)-1]));
|
//error_log(__METHOD__.' ('.__LINE__.') '.' ->'.$part->type."/".$part->subType.' -> BodyPart:'.array2string($bodyPart[count($bodyPart)-1]));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user