$conf->global->MAIN_MAIL_ERRORS_TO is not always set
This commit is contained in:
parent
0b08f125c9
commit
44c54ab3f7
1 changed files with 2 additions and 2 deletions
|
@ -120,8 +120,8 @@ class Actionssendrecurringinvoicebymail
|
||||||
'to' => implode(', ', $mailObject->compileEmails('to', true)),
|
'to' => implode(', ', $mailObject->compileEmails('to', true)),
|
||||||
'cc' => implode(', ', $mailObject->compileEmails('cc', true)),
|
'cc' => implode(', ', $mailObject->compileEmails('cc', true)),
|
||||||
'bcc' => implode(', ', $mailObject->compileEmails('bcc', true)),
|
'bcc' => implode(', ', $mailObject->compileEmails('bcc', true)),
|
||||||
'errorsTo' => $conf->global->MAIN_MAIL_ERRORS_TO,
|
'errorsTo' => (isset($conf->global->MAIN_MAIL_ERRORS_TO) ? $conf->global->MAIN_MAIL_ERRORS_TO : ''),
|
||||||
'replyTo' => $conf->global->MAIN_MAIL_ERRORS_TO,
|
'replyTo' => (isset($conf->global->MAIN_MAIL_ERRORS_TO) ? $conf->global->MAIN_MAIL_ERRORS_TO : ''),
|
||||||
'subject' => $mailObject->subject,
|
'subject' => $mailObject->subject,
|
||||||
'message' => $mailObject->body,
|
'message' => $mailObject->body,
|
||||||
'ishtml' => $mailObject->body_ishtml,
|
'ishtml' => $mailObject->body_ishtml,
|
||||||
|
|
Loading…
Reference in a new issue