Forwarded emails do not include attachments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • inactum
    Junior Member
    • Feb 2022
    • 5

    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.
  • yuri
    Member
    • Mar 2014
    • 8453

    #2
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • chr1st0ph9
      Member
      • Jun 2016
      • 37

      #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

    • yuri
      Member
      • Mar 2014
      • 8453

      #4
      It works on a few instances I tested.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • chr1st0ph9
        Member
        • Jun 2016
        • 37

        #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

        • yuri
          Member
          • Mar 2014
          • 8453

          #6
          It's supposed to be different, as master is not stable. Check the stable branch.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • chr1st0ph9
            Member
            • Jun 2016
            • 37

            #7
            Merci Yuri

            Comment

            Working...