Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

[Apose Email] Java to get attach zip file with attachment.getContentStream()

$
0
0
Hi there,

I am trying to extract a zip file attachment from an email with Java.
The project is using Aspose email.
I would like to know if I use attachment.getContentStream() to get the inputStream, would I be able to treat the inputStream as a Java File Type and convert it a Zipfile type and extract the content from the zip file.

This is a sample of what I am trying to do.

Lib Version: aspose-email-1.1.0-jdk15.jar.

thanks for the help
Vincent

Viewing all articles
Browse latest Browse all 1367

Trending Articles