lims Posted February 19, 2019 Share Posted February 19, 2019 anyone can help for hook or addon to cronjob for auto closed inactive client if invalid or bounce mail ? any idea please help 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted February 19, 2019 Share Posted February 19, 2019 There may be addons that do bounce back detection but didn't check that much because those I have seen were by devs that are no longer doing updates. Though those addons wouldn't do the action you want but could get you half way there. To do a custom solution, you would need the following: Sending out via an address that you have setup in a WHMCS support department -- billing@ for example This is needed for bounces to get returned to you A Support department in WHMCS that WHMCS pulls mail in to You can have multiple, it wont matter Client custom field for tracking bounces TicketOpen hook - this will parse the mail for bounce back messages and add a flag to the mailBounced custom field DailyCronJob hook - check through the clients for the mailBounced custom field and take action as needed. Another option is to use a transactional mail provider such as mailgun and check for bounced addresses via their API and then do the action needed. With that said, you may not want to do auto closing just because of the mail bounces, especially if they have active services. 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.