projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59b855d
)
Import/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Tue, 6 Oct 2015 06:03:03 +0000
(14:03 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 6 Oct 2015 06:03:03 +0000
(14:03 +0800)
Import/Core_email.php
patch
|
blob
|
history
diff --git
a/Import/Core_email.php
b/Import/Core_email.php
index
171984f
..
ed08c17
100644
(file)
--- a/
Import/Core_email.php
+++ b/
Import/Core_email.php
@@
-67,7
+67,13
@@
class Pman_Core_Import_Core_email extends Pman
}
$mailtext = file_get_contents($opts['file']);
-
+
+ if (!empty($opts['master'])) {
+ $body = $mailtext;
+ $mailtext = file_get_contents($opts['master']);
+ $mailtext = str_replace('{outputBody():h}', $body, $mailtext);
+ }
+
require_once 'Mail/mimeDecode.php';
require_once 'Mail/RFC822.php';