diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index 47fdd617ca17d8a5331c6339464548dd40fc1568..b724780662aa9e4a2fe56cea4559f0fba992d4a8 100644 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -588,7 +588,7 @@ FROM civicrm_action_schedule cas $domainValues = CRM_Core_BAO_Domain::getNameAndEmail(); $fromEmailAddress = "$domainValues[0] <$domainValues[1]>"; if ($actionSchedule->from_email) { - $fromEmailAddress = "$actionSchedule->from_name <$actionSchedule->from_email>"; + $fromEmailAddress = "\"$actionSchedule->from_name\" <$actionSchedule->from_email>"; return $fromEmailAddress; } return $fromEmailAddress;