Jump to content

The "EmailPreSend" hook


cheetooh

Recommended Posts

1 hour ago, cheetooh said:

Yes I did but they will actually abort all invoices email sending regardless of how many contacts you have.

I think the implication of the Contacts documentation is that the emails are sent to the client, and are effectively bcc'd to any applicable contacts...i'm not sure if the emails are sent individually to both main account and contacts (if you see what I mean). :?:

2 hours ago, cheetooh said:

Cannot differentiate between profile contact or sub-contact

you could use the Class docs to see if they're a contact, but if bcc is occurring, then I don't know if doing that gets you any further forward. :?:

somewhere in the back of my mind, I can recall a thread where one of the WHMCS guys said that it wasn't possible to disable emails to the main account holder... now that doesn't necessarily mean that it was impossible back then, or still is now, but I can't recall anyone posting code to do it.

certainly, there is a 5-year old feature request for this... impatientsmilie.gif

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