This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a requirement to send emails with zip attachments. I have to extract the data from the database, zip it and then email it. The problem is that I'm trying to do this without actually writing a zip file on the local system. If I attach it as a zip file I have no problem. I've searched high and low for examples but not found any. Is there any technical limitation that precludes this solution? Any ideas , anyone? I'm using the Java Mail Api for emailing and the java.util.zip package for zipping.