title: zip multiple jasper reports and send this zip by email
body: <p>I am currently sending a Jasper Report (invoice) by email with javax mail. It works fine :</p>
  
  <pre><code>InputStream reportStream;
  reportStream = this.getClass().getResourceAsStream(TEMPLATE_INVOICE); 
  JasperDesign jd;
  
  jd = JRXmlLoader.load(reportStream);
  JasperReport jr = JasperCompileManager.compileReport(jd);
  for (Long invoiceId:invoicesId){
      List&lt;Object[]&gt; results = invoiceRepository.findAllByIdInvoice(invoiceId);
      JasperPrint jp = JasperFillManager.fillReport(jr, new HashMap&lt;String,Object&gt;(), dataProvider.getInvoice(results));
  
      ByteArrayOutputStream baos = new ByteArrayOutputStream();
      JasperExportManager.exportReportToPdfStream(jp, baos);
      mailService.sendMail(baos);
  }
  </code></pre>
  
  <p>Now I would like to send a zip containing all my invoices by email.<br>
  At each iteration I would add the generated jasper report into a zip file, and then I would send this zip by email.<br>
  Is there a way to do that? </p>
  
  <p>Thanks</p>