Announcement

Collapse
No announcement yet.

Forwarded emails do not include attachments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forwarded emails do not include attachments

    After the upgrade to version 7.0.9 we found that email attachments are not being attached and sent with the forwarded emails. If I click on Forward button, the email is placed to the email form, but the attachment is not included (it does not matter if it is a picture file or a document one). When the email is sent, the forwarded email does not include the attachment.
    We upgraded to EspoCRM 7.0.9 on January 30th, 2022. Problems with the email started immediately after the upgrade.

  • #2

    Comment


    • #3
      Bonjour,
      I installed successfully the 7.0.10 (with .../command.php upgrade -y ..) but unfortunately no improvement concerning the pb:
      • Forward email not copying attachments #2226

      Did I made smth wrong or missed smth?
      ---
      Salutations amicales de France
      Last edited by chr1st0ph9; 04-02-2022, 08:27 PM.

      Comment


    • #4
      It works on a few instances I tested.

      Comment


      • #5
        Thanks for your feedback,
        I tried to edit client/src/views/email/detail.js following https://github.com/espocrm/espocrm/c...4ae6a10fd5c27c then made the modifications below:

        < attributes['attachmentsIds'] = duplicateAttributes.ids;
        < attributes['attachmentsNames'] = duplicateAttributes.names;
        ---
        > attributes['attachmentsIds'] = data.ids;
        > attributes['attachmentsNames'] = data.names;

        and it works :-)

        However, the source code on my machine

        var attributes = emailHelper.getForwardAttributes(this.model, data, cc);^M

        this.notify('Loading...');
        Espo.Ajax
        .postRequest('Email/action/getCopiedAttachments', {
        id: this.model.id,
        })
        .then(data => {
        attributes['attachmentsIds'] = duplicateAttributes.ids;
        attributes['attachmentsNames'] = duplicateAttributes.names;


        is different from https://github.com/espocrm/espocrm/c...4ae6a10fd5c27c even if espocrm should be up to date on my machine.
        ---
        Salutations amicales de France

        Comment


        • #6
          It's supposed to be different, as master is not stable. Check the stable branch.

          Comment


          • #7
            Merci Yuri

            Comment

            Working...
            X