BUG 12439 "Actions by email: No manda la manda la notificacion" SOLVED
- Actions by email: No manda la manda la notificacion - Problema resuelto, al configurar el Email de tipo "Mail PHP" y utilizando una activacion Actions by Email, la la notificacion se envia. * Available from version ProcessMaker-2.5.2-testing.1
This commit is contained in:
@@ -975,10 +975,10 @@ class wsBase
|
||||
$hasEmailFrom = preg_match( '/(.+)@(.+)\.(.+)/', $sFrom, $match );
|
||||
|
||||
if (!$hasEmailFrom || strpos($sFrom, $aSetup["MESS_ACCOUNT"]) === false) {
|
||||
if (isset($aSetup["MESS_ACCOUNT"]) && $aSetup["MESS_ENGINE"] != "MAIL") {
|
||||
if (trim($aSetup["MESS_ACCOUNT"]) != "") {
|
||||
$sFrom = "\"" . stripslashes($sFrom) . "\" <" . $aSetup["MESS_ACCOUNT"] . ">";
|
||||
} else {
|
||||
$sFrom = "<info@processmaker.com>";
|
||||
$sFrom = "<info@" . $_SERVER["HTTP_HOST"] . ">";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user