I'm using z/os pkzip to zip a file on the mainframe. Then I'm creating an email msg with it as an attachment, its a batch job going thru smtp server.
The email gets to my mailbox ok but when try to unzip attachment get the following: Cannot Open File: It does not appear to be valid archive.
If I take zipped file and send it to another server, unzips fine. Its just when I use to as an attachment its corrupt I guess.
Here the html part of my email: