I need to password protect a zip file in unix and mail it using unix script.

i have tried using zip -P but it gave me the eroor that encryption was not supported.

The requirement is to provide the password in command line so that the script can zip the file using the password and send it on a particular mail on daily basis.

Please help in this regard.