projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16924c8
)
Non-multipart body is now an ezcMailFile object stored in tmp directory.
author
mark burdett
<mfburdett@gmail.com>
Mon, 11 Mar 2019 22:04:23 +0000
(15:04 -0700)
committer
mark burdett
<mfburdett@gmail.com>
Mon, 11 Mar 2019 22:04:23 +0000
(15:04 -0700)
CRM/Utils/Mail/EmailProcessor.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Mail/EmailProcessor.php
b/CRM/Utils/Mail/EmailProcessor.php
index 5f609153b41474333047dfd95ec02fcee48988d7..3c9842d9e247f2525dbf78451116ac61f8d38db9 100644
(file)
--- a/
CRM/Utils/Mail/EmailProcessor.php
+++ b/
CRM/Utils/Mail/EmailProcessor.php
@@
-290,6
+290,9
@@
class CRM_Utils_Mail_EmailProcessor {
elseif ($mail->body instanceof ezcMailMultipart) {
$text = self::getTextFromMultipart($mail->body);
}
+ elseif ($mail->body instanceof ezcMailFile) {
+ $text = file_get_contents($mail->body->__get('fileName'));
+ }
if (
empty($text) &&