Jump to content

Auto closed Client if Bounce mail


lims

Recommended Posts

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. 

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