violetbeach commented on PR #157:
URL: https://github.com/apache/commons-email/pull/157#issuecomment-1665719978

   > Hello @violetbeach Thank you for your interest in Commons Email. You 
example does not show anything related to Commons Email, it only uses the 
JavaxMail API.
   
   Hello.
   Thank you for your quick reply!
   
   As you said, I only used the JavaxMail API to explain the contents.
   
   ```java
   @Test
   void memoryTest() throws Exception {
       FileInputStream fileInputStream = new FileInputStream("/test/oom.eml");
       byte[] bytes = fileInputStream.readAllBytes();
       Session session = Session.getInstance(System.getProperties());
       MimeMessage mimeMessage = MimeMessageUtils.createMimeMessage(session, 
bytes);
   }
   ```
   
   But, the same problem occurs in the above test. 🤣


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to