Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3829

Unable to send mail in asynchronous mode with stream attachments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.0
    • None
    • None
    • None
    • 4.7.0 RC2

      Category:	org.ametys.core.util.mail.SendMailHelper
      Message:		Unable to send mail with subject: Accusé de réception
      Location:	org.ametys.core.util.mail.SendMailHelper$MailSender.run(SendMailHelper.java:783)
      Thrown:
      java.io.IOException: Stream closed
      	at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:168)
      	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1309)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:978)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1282)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:953)
      	at org.ametys.core.util.mail.InputStreamDataSource.<init>(InputStreamDataSource.java:58)
      	at org.ametys.core.util.mail.SendMailHelper$MailSender.sendMail(SendMailHelper.java:848)
      	at org.ametys.core.util.mail.SendMailHelper$MailSender.run(SendMailHelper.java:779)
      

            cedric Cédric Damioli
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: