Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-8

servicemix-mail throws IOException "Socket closed" when trying to send an attachment which uses StreamDataSource

    XMLWordPrintableJSON

Details

    Description

      If an attachment uses the StreamDataSource, it gives IOException when trying to send this attachment via email.
      The problem is, that the JavaMail tries to read the input stream of this data source twice and that's not supported by the StreamDataSource.

      Attachments

        Activity

          People

            lhe Lars Heinemann
            lhe Lars Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: