Due to an upcoming new law in the Netherlands it will be required to inform a customer when you are about to renew a subscription. Right now WHMCS does not support notifying customers automatically when their package is about to expire so I'm looking to create my own event.
What I want to do is send an automated e-mail to any client with a package that is set to be renewed in less than 30 days. I already made the e-mail template in WHMCS, but I have no idea how to make it send it out to the relevant clients at the right moment.
WHMCS support told me to use action hooks and the API to accomplish this but I didn't get much info aside from that.
Anyone have a clue on how I would do this?
What I want to do is send an automated e-mail to any client with a package that is set to be renewed in less than 30 days. I already made the e-mail template in WHMCS, but I have no idea how to make it send it out to the relevant clients at the right moment.
WHMCS support told me to use action hooks and the API to accomplish this but I didn't get much info aside from that.
Anyone have a clue on how I would do this?