I need to construct and send a zip to a user.
I've seen examples doing one or the other, but not both, and am curious if there are any 'best practices' or anything.
Sorry for the confusion. I'm going to generating the zip on the fly for the web user, and sending it to them in the HTTP response. Not in an email.