I’m having a lot of difficulty getting reminder emails to work. I can see others have posted similar problems in the past but no solutions. I’ve followed the setup guidance and test emails work OK but when the time comes to send a scheduled message of any sort, nothing (apparently) happens.
So, here’s what I’ve done.
In Settings > Email Settings I’ve set up an email provider, with a BCC to myself. Clicking SEND TEST EMAIL results in a successfull test, and the headers in the received message show successful DKIM, SPF, DMARC etc. and a low spam score. Generally speaking, when I manually click “Send Email” anywhere in InvoiceNinja it works.
In Settings > Templates & Reminders I have set up templates for Invoice, Statement, First Reminder, Second Reminder, Third Reminder and Endless Reminders. Each of those has the Send Email option selected, with timings set for 30 days, 60 days, 90 days and so on.
I also have a schedule set up in Settings > Schedules.
This shows some unexpected things, such as a “Next Run” in the past.
I have two cron jobs set up. They both seem to run without errors.
cd /home/beechesit/domains/accounts.beeches.it && /usr/bin/php -d register_argc_argv=On artisan queue:work --stop-when-empty
cd /home/beechesit/domains/accounts.beeches.it && /usr/bin/php -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1
There’s obviously something wrong, especially when the “next run” is a past date. But how can I narrow this down? I’m losing money here because people are forgetting to pay their invoices.
OK, if anyone else reads this one way to view the dates is to go to the Invoices page, click Columns at the bottom right (why is it at the bottom not the top?) then select Last Sent Date, Next Send Date and Reminder Last Sent. I couldn’t find this anywhere in the documentation.
The results are interesting. This looks wrong to me, no dates at all:
Ah, that makes sense, especially for the situation where a customer has multiple overdue invoices. I think I’ll turn off the endless reminders in that case. Is there any way to view a statement before actually sending it to a customer? I’d like to check the formatting and content.