From 6ac9d8643c944a524d85bdf8f5aa12256e8bd6ae Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Fri, 26 Apr 2013 12:17:42 -0700 Subject: [PATCH] CRM-12430 ---------------------------------------- * CRM-12430: CRM_Mailing_BAO_Mailing:create changes all mailing settings back to default http://issues.civicrm.org/jira/browse/CRM-12430 --- CRM/Utils/Mail/EmailProcessor.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/Mail/EmailProcessor.php b/CRM/Utils/Mail/EmailProcessor.php index 14b4a34826..ee12275915 100644 --- a/CRM/Utils/Mail/EmailProcessor.php +++ b/CRM/Utils/Mail/EmailProcessor.php @@ -294,7 +294,9 @@ class CRM_Utils_Mail_EmailProcessor { $text = $mail->generateBody(); // if text is still empty, lets fudge a blank text so the api call below will succeed - $text = ts('We could not extract the mail body from this bounce message.'); + if (empty($text)) { + $text = ts('We could not extract the mail body from this bounce message.'); + } } $params = array( -- 2.25.1