Skip to content
Snippets Groups Projects
Commit 6ad53728 authored by Monish Deb's avatar Monish Deb
Browse files

#2226: Scheduled Reminder fails to send if From Name includes comma

parent 0f9e7055
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment