fix formatting
authorDavid Hayes <david@blackbricksoftware.com>
Mon, 14 Sep 2015 20:29:50 +0000 (15:29 -0500)
committerDavid Hayes <david@blackbricksoftware.com>
Mon, 14 Sep 2015 20:29:50 +0000 (15:29 -0500)
CRM/Utils/Mail/EmailProcessor.php

index b83f19aef13c35a29ec31796dc0d9e824528095f..608ac7d8414b75d13e024cab85c661a06419596d 100644 (file)
@@ -238,14 +238,15 @@ class CRM_Utils_Mail_EmailProcessor {
 
         // preseve backward compatibility
         if ($usedfor == 0 || !$civiMail) {
-           // if its the activities that needs to be processed ..
+          // if its the activities that needs to be processed ..
           try {
-                       $mailParams = CRM_Utils_Mail_Incoming::parseMailingObject($mail);
-                 } catch (Exception $e) {
-                       echo $e->getMessage();
-                       $store->markIgnored($key);
-                       continue;
-                 }
+            $mailParams = CRM_Utils_Mail_Incoming::parseMailingObject($mail);
+          } 
+          catch (Exception $e) {
+            echo $e->getMessage();
+            $store->markIgnored($key);
+            continue;
+          }
 
           require_once 'CRM/Utils/DeprecatedUtils.php';
           $params = _civicrm_api3_deprecated_activity_buildmailparams($mailParams, $emailActivityTypeId);