šŸ”“ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Ticket auto responders war

    Technical Help
    3
    7
    512
    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 EX helping member @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?

        šŸ’¬ You can also ask help on GitHub Discussions
        šŸ”“ I am no more active on Uvdesk
        šŸ”“ Forum support is inactive!

        1 Reply Last reply Reply Quote 0
        • Sanjeev
          Sanjeev developer UVdesk Staff 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 EX helping member @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 šŸ˜„

            šŸ’¬ You can also ask help on GitHub Discussions
            šŸ”“ I am no more active on Uvdesk
            šŸ”“ Forum support is inactive!

            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 @peopleinside last edited by

                @peopleinside

                Removed email and updated text šŸ™‚

                1 Reply Last reply Reply Quote 0
                • Sanjeev
                  Sanjeev developer UVdesk Staff @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