PM-1365
Al hacer resend de un email en el Message History del Case Information Menu, se despliega dos notice con Undefined index. Se valido que el elemento que genera el "notice" exista, antes de continuar con la ejecucion del mismo.
This commit is contained in:
@@ -229,6 +229,7 @@ class spoolRun
|
||||
$this->fileData['envelope_to'] = array ();
|
||||
$this->fileData["contentTypeIsHtml"] = $bContentTypeIsHtml;
|
||||
|
||||
if (array_key_exists('MESS_ENGINE',$this->config)) {
|
||||
if ($this->config['MESS_ENGINE'] == 'OPENMAIL') {
|
||||
if ($this->config['MESS_SERVER'] != '') {
|
||||
if (($sAux = @gethostbyaddr( $this->config['MESS_SERVER'] ))) {
|
||||
@@ -241,6 +242,7 @@ class spoolRun
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* send mail
|
||||
@@ -416,6 +418,7 @@ class spoolRun
|
||||
private function handleMail ()
|
||||
{
|
||||
if (count( $this->fileData['envelope_to'] ) > 0) {
|
||||
if (array_key_exists('MESS_ENGINE',$this->config)) {
|
||||
switch ($this->config['MESS_ENGINE']) {
|
||||
case 'MAIL':
|
||||
case 'PHPMAILER':
|
||||
@@ -577,6 +580,7 @@ class spoolRun
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* try resend the emails from spool
|
||||
|
||||
Reference in New Issue
Block a user