reminders not being sent

Hey :slight_smile:

I am using IN 4.5.18 self-hosted on an actual debian. Everything works fine as far as I can see, but reminders won’t get sent out.

I have a customers with two invoices. They are both being displayed as “Past Due” correctly, in my mail-templates the send checkbox for reminders is activated and my customer has the checkbox activated, too.

Running artisan ninja:send-reminders results in:

Mon, 18 May 2020 21:40:02 +0000 Running SendReminders...
Mon, 18 May 2020 21:40:02 +0000 0 due recurring invoice instance(s) found
Mon, 18 May 2020 21:40:02 +0000 1 accounts found with fees enabled
Mon, 18 May 2020 21:40:02 +0000 MY COMPANY: 1 invoices found
Mon, 18 May 2020 21:40:02 +0000 Charge fee: 9
Mon, 18 May 2020 21:40:03 +0000 1 accounts found with reminders enabled
Mon, 18 May 2020 21:40:03 +0000 MY COMPANY: 1 invoices found
Mon, 18 May 2020 21:40:03 +0000 MY COMPANY: 0 endless invoices found
Mon, 18 May 2020 21:40:03 +0000 0 scheduled reports
Mon, 18 May 2020 21:40:03 +0000 Done

No reminders are sent. Any idea what goes wrong?

Thanks, Chris

Have you tried command?

https://invoice-system.readthedocs.io/en/latest/configure.html

hey,

yes, that works too, same output, but no mails sent. even no connection to the mailserver (i am using smtp), but invoices, offers, etc. work fine…

should there be an output like “XYZ mails sent”?

thanks, chris

Yes I am having the same issue.
/opt/alt/php73/usr/bin/php /home/highlan1/ninja.xxxxxxxxxx.com.au/ninja4/artisan ninja:send-reminders
Sat, 12 Mar 2022 02:31:56 +0000 Running SendReminders…
Sat, 12 Mar 2022 02:31:56 +0000 0 due recurring invoice instance(s) found
Sat, 12 Mar 2022 02:31:56 +0000 0 accounts found with fees enabled
Sat, 12 Mar 2022 02:31:56 +0000 1 accounts found with reminders enabled
Sat, 12 Mar 2022 02:31:56 +0000 xxxxxxxxxxxxxxxxxxxxxxx Club: 0 invoices found
Sat, 12 Mar 2022 02:31:56 +0000 xxxxxxxxxxxxxxxxxxxxxxx Club: 0 endless invoices found
Sat, 12 Mar 2022 02:31:56 +0000 0 scheduled reports
Sat, 12 Mar 2022 02:31:56 +0000 Done

I have over 120 accounts and it has always worked until this year.
I have it self hosted.
I am at a loss and don’t know what to look for. Any help/suggestions appreciated.

I am running version 4.5.48

The latest v4 requires PHP 7.4

Thanks. I have changed to php v7.4.
I ran the send-reminders again and still the same message and none sent.
I ran composer update as well.
php artisan --version Laravel Framework 6.20.44

I guess it might work when the next run of reminders is scheduled in a few days.

The reminders worked today so thank you for the php version hint.
One other question: The system emails me the reminders and the recurring invoices even thought I have the notification of the emails not selected


I had a similar issue before when I added some users that had view access and I had to get those users to go into their settings and make them like the screenshot above.
I am wondering if there is another user that has those settings turned on.

Thanks again.

Do you maybe have a BCC set on Settings > Email Settings?

No it is blank.
It used to work until I upgraded a few years ago.

Is there a sql select statement I can run to find out if anything is flagged to send emails?

Hi,

I have found the issue with the email being sent. I am using gmail as the sender. I had a filter to say anything from my domain then don’t send it to spam.
Apparently is is pretty much any filter applied in gmail shows in the inbox.

I did have the issue years ago before I had the gmail filter applied when the invoice ninja email notifications were turned on, which is why I thought that problem had resurfaced.

Thanks for you support.