GI-225
Getting the server email configuration to set the email from the default server as the email from in the sended message.
This commit is contained in:
@@ -188,11 +188,14 @@ class Pmgmail {
|
|||||||
|
|
||||||
$subject = "[PM] " .$proName. " (" . $index . ") Case: ". $appNumber;
|
$subject = "[PM] " .$proName. " (" . $index . ") Case: ". $appNumber;
|
||||||
|
|
||||||
|
//getting the default email server
|
||||||
|
$defaultEmail = $this->emailAccount();
|
||||||
|
|
||||||
require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.wsBase.php");
|
require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.wsBase.php");
|
||||||
$ws = new \wsBase();
|
$ws = new \wsBase();
|
||||||
$resultMail = $ws->sendMessage(
|
$resultMail = $ws->sendMessage(
|
||||||
$app_uid,
|
$app_uid,
|
||||||
'inbox.pm@processmaker.com', //From,
|
$defaultEmail, //From,
|
||||||
$mail,//To,
|
$mail,//To,
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
|||||||
Reference in New Issue
Block a user