Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия | |||
faq:receive_fax [2022/06/27 14:34] Алексей Портнов старая версия восстановлена (2020/07/27 12:44) |
faq:receive_fax [2022/06/28 08:41] (текущий) Алексей Портнов |
||
---|---|---|---|
Строка 20: | Строка 20: | ||
if($result === 'SUCCESS' && file_exists($faxFile)){ | if($result === 'SUCCESS' && file_exists($faxFile)){ | ||
- | Notifications::sendMail('test@gmail.com', 'Fax msg from '.$caller, 'Incoming fax <br><br>', $faxFile); | + | $notify = new Notifications(); |
+ | $notify->sendMail('test@gmail.com', 'Fax msg from '.$caller, 'Incoming fax <br><br>', $faxFile); | ||
unlink($faxFile); | unlink($faxFile); | ||
} | } |