Chad Posted May 1, 2019 Share Posted May 1, 2019 Every product or service gets the same cancellation confirmation email should the cancellation be made. However, we require a custom email confirmation specific to a product group whereas certain subjects and email body are included that applies only to that product group. Is this possible? For example: "Action Required" must be in the subject pertaining to the cancelled service in that specific product group plus a unique confirmation email body. I asked support about this and I got the below response. Hopefully someone here can explain in laymen terms how that would work. Never done API stuff before. Quote This is something that may require the EmailPreSend hook point and the SendEmail API. https://developers.whmcs.com/hooks-reference/everything-else/#emailpresendhttps://developers.whmcs.com/api-reference/sendemail/ With the EmailPreSend hook, you can detect the standard cancellation request email about to be sent and abort it, then use the API to send your custom email template with the necessary subject and body. 0 Quote Link to comment Share on other sites More sharing options...
Chad Posted May 6, 2019 Author Share Posted May 6, 2019 Anyone? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.