Skip to content
Snippets Groups Projects
Unverified Commit 7f892a5e authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #19603 from JMAConsulting/issue-2226

#2226: Scheduled Reminder fails to send if From Name includes comma
parents 515c2cde 6ad53728
Branches
Tags
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.
Please register or to comment