ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Emailing password protected zip file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Emailing password protected zip file

    Hi All,

    I'm using 7z utility to create two zip files. First file is just a compress file created using below command and emailed using SNDSMTPEMM . The mail is delivered as expected.
    Code:
    7z a  -tgzip /tmp/ZINDL1.zip /tmp/zip/ZINDL.CSV
    second file is secured using password.
    Code:
    7z a -pMYPASSWORD /tmp/ZINDL2.zip /tmp/zip/ZINDL.CSV
    When I emailed second file using SNDSMTPEMM , the email won't delivered.

    Is there any encoding happened during the password adding which will not support email ?

    Thanks
    Dhanuxp
Working...
X