projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffee0e3
)
Import/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Mon, 2 Mar 2015 06:45:17 +0000
(14:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 2 Mar 2015 06:45:17 +0000
(14:45 +0800)
Import/Core_email.php
patch
|
blob
|
history
diff --git
a/Import/Core_email.php
b/Import/Core_email.php
index
56b679e
..
d03c5a6
100644
(file)
--- a/
Import/Core_email.php
+++ b/
Import/Core_email.php
@@
-52,6
+52,10
@@
class Pman_Core_Import_Core_email extends Pman
$decoder = new Mail_mimeDecode($mailtext);
$parts = $decoder->getSendArray();
+ if (is_a($parts,'PEAR_Error')) {
+ echo $parts->toString();
+ exit;
+ }
$headers = $parts[1];
$from = new Mail_RFC822();