Attachment shows in Email, but not in created Case (Inbound Email)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abby8002
    Junior Member
    • Aug 2014
    • 10

    Attachment shows in Email, but not in created Case (Inbound Email)

    Hi Everyone,

    I have been able to setup inbound email so that it comes in and creates a case, but running into a problem with the email's attachment not being included as part of the case created by the inbound email.

    When I go to look at the emails received, the attachment shows there, but not in the generated case.

    Any ideas? I've searched the net for an answer, but have come up empty.

    Thank you!
    B.

    Additional Information: In my instance, Activity, History and Tasks are removed from being visible on the right of the page. I realize that the email will show in history, but looking for the body of the incoming email and its associated attachment to appear in the case's "stream". Thanks!
    Last edited by Abby8002; 10-29-2014, 09:51 PM.
  • yuri
    Member
    • Mar 2014
    • 8495

    #2
    Hi

    It's designed such way so body and attachments are not copied to the case. Case entity doesn't have attachments field.

    Regarding displaying email body in Stream. The problem that stream record not supports showing html text. But maybe we could show text/plain version of the messages here. I will think about that and maybe we will implement this out-of-box.
    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

    • alasdaircr
      Active Community Member
      • Aug 2014
      • 525

      #3
      People in my company are also looking for emails to show up in the stream. I was thinking of plain text too. I could have a go at implementing this and PRing it as we need to pretty soon.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8495

        #4
        I think we will add it to the next release. No need to PR.
        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

        • Abby8002
          Junior Member
          • Aug 2014
          • 10

          #5
          ok, thanks guys. Look forward to seeing this at some point.

          Comment

          • alasdaircr
            Active Community Member
            • Aug 2014
            • 525

            #6
            Hi Yuri so this is a great feature for cases - but I want to make this more generic so emails received and sent are shown in the stream.

            One option is to copy what you have done, but overtime we will end up with hundreds of duplicate text in the 'note' table, and the 'email' table.

            How difficult would it be to inject the emails as notes into a stream without saving as a note in the first place?

            Comment

            • yuri
              Member
              • Mar 2014
              • 8495

              #7
              Medium difficulty. I will take a look.
              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

              • alasdaircr
                Active Community Member
                • Aug 2014
                • 525

                #8
                Great, I'm having a look too. Was thinking of generating the virtual notes in Repositories/Note.php

                I also want to look at pulling in notes for contacts, cases, any related entity within the account stream. Anything with account_id

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8495

                  #9
                  I'm thining to link note with email entry via data field and then copy body and attachmentsIds after note is fetched.
                  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

                  • alasdaircr
                    Active Community Member
                    • Aug 2014
                    • 525

                    #10
                    that sounds perfect, have you made any progress on this? I'd like to get this operational soon, so could have a go myself.

                    Comment

                    • yuri
                      Member
                      • Mar 2014
                      • 8495

                      #11
                      I only done it for attachments. Email text contents is copied.
                      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

                      • alasdaircr
                        Active Community Member
                        • Aug 2014
                        • 525

                        #12
                        Email text still duplicated in note table?

                        Comment

                        • yuri
                          Member
                          • Mar 2014
                          • 8495

                          #13
                          Yes,

                          .

                          .
                          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

                          Working...