|
@@ 360-364 (lines=5) @@
|
| 357 |
|
|
| 358 |
|
// set "text/calendar; method=*" as alternativ body |
| 359 |
|
$matches = null; |
| 360 |
|
if (preg_match('|^text/calendar; method=([^;]+)|i', $type, $matches)) |
| 361 |
|
{ |
| 362 |
|
$this->setAlternativBody($resource, $type, array('method' => $matches[1]), 'utf-8'); |
| 363 |
|
return; |
| 364 |
|
} |
| 365 |
|
|
| 366 |
|
$part = new Horde_Mime_Part(); |
| 367 |
|
$part->setType($type); |
|
@@ 438-442 (lines=5) @@
|
| 435 |
|
|
| 436 |
|
// set "text/calendar; method=*" as alternativ body |
| 437 |
|
$matches = null; |
| 438 |
|
if (preg_match('|^text/calendar; method=([^;]+)|i', $type, $matches)) |
| 439 |
|
{ |
| 440 |
|
$this->setAlternativBody($content, $type, array('method' => $matches[1]), 'utf-8'); |
| 441 |
|
return; |
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
$part = new Horde_Mime_Part(); |
| 445 |
|
$part->setType($type); |