Jump to content

WHMCS email question


Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated