Jump to content

I need hook to prevent some billing mails to be sent


Recommended Posts

Hello,

I need to prevent some mails to be sent from WHMCS, and understand this can be done with a hook.

Here is the thing, I have one account mail for the client account, and the same client has one billing contact. So if the $client_custom_fields.0 is set to "on" then the "invoice created" mail should only be sent to the billing contact. Any client that has custom_fields.0 set to "on" has a billing contact with a fixed mail.

Then, if there is sent any reminders etc later on, this mail should only be sent to the main client account contact, and not for the billing contact. This includes any reminder and/or payment confirmation mails.

So in basic this hook is to force the invoice created mail to only go to the billing contact, and than later force all reminders and confirmations to go only to the account holder.

Is there anyone here that can create such hook for me quick?

 

Thanks!

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.

Guest
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