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:
jennydmz
2015-12-22 11:26:42 -04:00
parent 547b4e20fc
commit bd07687d57

View File

@@ -188,11 +188,14 @@ class Pmgmail {
$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");
$ws = new \wsBase();
$resultMail = $ws->sendMessage(
$app_uid,
'inbox.pm@processmaker.com', //From,
$defaultEmail, //From,
$mail,//To,
'',
'',