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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user