Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Attaching .ZIP file and sending Email using utl_smtp gives corrupted .zipped file

User_UH8XJAug 22 2021 — edited Aug 23 2021

Hi ,
I am trying to email .zip file using utl_smtp . I have used the demo_mail package and the code found at https://community.oracle.com/tech/developers/discussion/494551/email-zip-attachment. I can successfully email .zip file but when i try to unzip and extract using either WIZIP or 7-ZIP , it gives me error saying "it does not appear to be valid archive.
Please please advise.

attaching the test file which I am trying to email ..
testing.zip (178.11 KB)

This post has been answered by User_H3J7U on Aug 23 2021
Jump to Answer
Comments
Post Details
Added on Aug 22 2021
6 comments
685 views