BUG 11522 Change email 'from' when sending a pause case notification SOLVED

- If user send an email notification when he pauses a case. The FROM is always "PROCESSMAKER". Is it possible to change it to something else.
- Added title the email sends notifications in a task.
This commit is contained in:
Hector Cortez
2013-06-17 10:38:45 -04:00
parent 56bbb29643
commit 2ad2923d1a

View File

@@ -4829,10 +4829,14 @@ class Cases
if ($aTaskInfo['TAS_SEND_LAST_EMAIL'] != 'TRUE') {
return false;
}
/*
if ($sFrom == '') {
$sFrom = '"ProcessMaker"';
}
*/
if (isset($aConfiguration['MESS_FROM_NAME']) && $aConfiguration['MESS_FROM_NAME'] != '') {
$sFrom = $aConfiguration['MESS_FROM_NAME'];
}
$hasEmailFrom = preg_match('/(.+)@(.+)\.(.+)/', $sFrom, $match);