Uploaded image for project: 'Kayako Fusion, Case and Engage'
  1. Kayako Fusion, Case and Engage
  2. SWIFT-2341

Attachment is removed while forwarding an email using pre-parser rule.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.40.986
    • Fix Version/s: 4.50.1581
    • Component/s: Tickets
    • Security Level: Public (All users (including anonymous) can see these issues)
    • Labels:

      Description

      Attachment is removed while forwarding an email using pre parser rule.

      Steps to replicate:

      1. Create a parser rule with any criteria For ex. "Email Queue: Equal: Queue_Name" and forward it to a custom email using Forward To field (pre parser) under Actions tab.
      2. Mail an email with attachment to the Email Queue,
      3. The mail received on custom email defined in "Forward To" field loses the attachement though the attachement is parsed in the helpdesk.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            saloni.dhall Saloni Dhall added a comment - - edited

            Fix: in class.SWIFT_ParserRuleManager.php (under __modules/parser/library/Rule/ folder), Add the following code : (around line: 235)

            foreach ($this->MailParserEmail->GetAttachments() as $_attachmentContainer) {
                  if ($_attachmentContainer['data'] != '' && $_attachmentContainer['filename'] != '') { 
                   $this->Mail->Attach($_attachmentContainer['data'], $_attachmentContainer['contenttype'], $_attachmentContainer['filename']);
                  }
            }
            
            Show
            saloni.dhall Saloni Dhall added a comment - - edited Fix: in class.SWIFT_ParserRuleManager.php (under __modules/parser/library/Rule/ folder), Add the following code : (around line: 235) foreach ($ this ->MailParserEmail->GetAttachments() as $_attachmentContainer) { if ($_attachmentContainer['data'] != '' && $_attachmentContainer['filename'] != '') { $ this ->Mail->Attach($_attachmentContainer['data'], $_attachmentContainer['contenttype'], $_attachmentContainer['filename']); } }

              People

              • Assignee:
                saloni.dhall Saloni Dhall
                Reporter:
                mehar.singh Mehar Singh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: