UVdesk

    • Register
    • Login
    • Search
    • Recent

    Solved Ticket auto responders war

    Technical Help
    3
    7
    195
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SeditioLTD last edited by

      Hey Guys,

      I'm receiving automatic ticket creations in a loop cycle due to an auto responder. Any idea how I can disable that?

      loop.png

      peopleinside 1 Reply Last reply Reply Quote 0
      • peopleinside
        peopleinside community specialist mod admin @SeditioLTD last edited by

        @SeditioLTD You can made maybe a workflow to not create ticket if contain specific strings or you can insert the customer email in spam if you don't need ticket from this email address. Can be this suitable for you?

        UVdesk passionate | Community moderator | External consultant

        If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
        You can always get in touch also with the UVdesk team
        https://support.uvdesk.com/en/

        1 Reply Last reply Reply Quote 0
        • Sanjeev
          Sanjeev developer UVdesk Staff mod last edited by Sanjeev

          @SeditioLTD @peopleinside

          You can also add this (email or domain) in blacklist block under spam setting also.

          Check this: https://prnt.sc/10h1ukr

          Or You can also enable a auto-reply email check in code for stop such tickets in future as well in processMail function.

          peopleinside S 2 Replies Last reply Reply Quote 0
          • peopleinside
            peopleinside community specialist mod admin @Sanjeev last edited by

            @Sanjeev for avoid spam is better never put in a forum email address 🙂 this is why i never mentioned the full email address 😄

            UVdesk passionate | Community moderator | External consultant

            If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
            You can always get in touch also with the UVdesk team
            https://support.uvdesk.com/en/

            Sanjeev 1 Reply Last reply Reply Quote 0
            • S
              SeditioLTD @Sanjeev last edited by

              @Sanjeev said in Ticket auto responders war:

              @SeditioLTD @peopleinside

              You can also add this email (support@rocketchat.zohodesk.com or zohodesk.com) in blacklist block under spam setting also.

              Check this: https://prnt.sc/10h1ukr

              Or You can also enable a auto-reply email check in code for stop such tickets in future as well in processMail function.

              Thanks mate, I've added it to the blacklist but ofcourse it's not ideal solution. How would the enable check for auto reply work actually?

              Sanjeev 1 Reply Last reply Reply Quote 0
              • Sanjeev
                Sanjeev developer UVdesk Staff mod @peopleinside last edited by

                @peopleinside

                Removed email and updated text 🙂

                1 Reply Last reply Reply Quote 0
                • Sanjeev
                  Sanjeev developer UVdesk Staff mod @SeditioLTD last edited by Sanjeev

                  @SeditioLTD

                  Locate path in your project:
                  vendor/uvdesk/mailbox-component/Services/MailboxService.php

                  open MailboxService.php and add some line of code here which we are writing below.

                  $autoReplyEmail = $parser->getHeader('auto-submitted');
                  if ($autoReplyEmail && $autoReplyEmail == "auto-generated" ) 
                  {       
                       return;
                   }
                  

                  But above code will block all auto generated emails and will not create a ticket if auto-submitted header with value auto-generated exist with your mail row content.

                  You can add below conditions for stopping such auto emails from a particular domain as well by adding below code.
                  Example - for zendesk and zohodesk

                  $autoReplyEmail = $this->Parser->getHeader('auto-submitted');
                   if ($autoReplyEmail && $autoReplyEmail == "auto-generated") {
                        $implodeMessageId = explode('@', $mailData['referenceIds']);
                        if ($implodeMessageId[1] == 'desk-mailer.zohodesk.com>'
                                    || $implodeMessageId[1] == 'zendesk.com>') {
                                      return;
                        }
                   }
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post