I’m running Dolibarr 12.0.3 and want to set up a method for emailing my template invoices automatically once they are validated.
At the moment I can’t find any functionality that does that, the closest being a script that emails a reminder about overdue invoices.
Any help would be greatly appreciated.
Stefan Van Zyl
You can use one of the scripts here as a starting point : https://github.com/Dolibarr/dolibarr/tree/develop/scripts/invoices or use the existing one in Dolibarr 12.0.3 compta/facture/class/facture-rec.class.php
Next, set the sceduled task with corresponding script and make use of the cronjobs schedule.