Merge pull request #20915 from inovea-conseil/FIX_Cmailfile
Fix cmailfile #20636
This commit is contained in:
commit
4c1226ca83
@ -592,7 +592,7 @@ class CMailFile
|
||||
}
|
||||
|
||||
$sendingmode = $this->sendmode;
|
||||
if ($this->context == 'emailing' && !empty($conf->global->MAILING_NO_USING_PHPMAIL) && $sendingmode == 'mail') {
|
||||
if ($this->sendcontext == 'emailing' && !empty($conf->global->MAILING_NO_USING_PHPMAIL) && $sendingmode == 'mail') {
|
||||
// List of sending methods
|
||||
$listofmethods = array();
|
||||
$listofmethods['mail'] = 'PHP mail function';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user