Hi!
I have NOTIF_FOLLOW enabled and NOTIF_PROG_TIME is set to 06:00 PM.
By some reason, the "php cront_mailer.php" does nothing, unless I "hack it" and change the "if" line to always true. Like this:
//if($values['NOTIF_FOLLOW'] == 'ON' && $values['NOTIF_PROG_TIME'] == date('H:i') && array_key_exists(date('l'), $day)){
if (true) {
$mail->config_mailer();
$selected = $mail->get_notif_selected();
$body_mail = $mail->get_all_information($selected);
$mail->send_notification($body_mail[$selected]['SUBJECT'], $body_mail[$selected]['FILE'], $selected);
}
I'm pretty sure that NOTIF_FOLLOW and NOTIF_PROG_TIME are ok, but what is the meaning of array_key_exists(date('l'), $day) ?
Thanks.
Regards.