Skip to content

Quota notification email problem

Hi, We noticed that, seems to be an error in class monitor_tools, when send email notification use default php mail function instead of the ispconfig's function in the functions.inc.php file.

The code to which I am referring is this : (line 789 monitor_tools_inc.php) for($r = 0; $r < count($recipients); $r++) { mail(recipients[r], $mailSubject, $mailBody, $mailHeaders); }

I suppose that it should be like that :

for($r = 0; $r < count($recipients); $r++) { $app->functions->mail($recipients[$r], $mailSubject, $mailBody, $mailHeaders); }

What do you think?

Edited by Thom