There have been some questions on this topic, but I would like to run the idea once more just to make sure.
I have 2 types of clients, prepaid and postpaid. Prepaid clients must pay their invoices before I process anything for them, and postpaid clients have their invoices marked as paid immediately and receive a monthly invoice.
The problem is, I don't want postpaid users to receive emails regarding invoice creation and payment, while at the same time I want prepaid users to receive both emails from WHMCS.
So I disabled the email "Invoice Created", and setup an action hook when the invoice is created. In that hook, I check the type of customer and then process it as wanted, but of course, I cant send the "Invoice Created" email because it is disabled.
I'm seconds away from giving up on solving this problem inside WHMCS and move all invoicing to a custom made external system that will do all that checking, leaving WHMCS to just create those invoices.
I just wanted to check that once you mark an email as "disabled" in "Email templates", there is absolutely no way of sending that same email via API or any other way.
I'm aware that this question has been posted before, but kindly ask anyone with knowledge about this to clear up this info.
Thanks in advance.