Sending emails via lotusscript

Hi All,

I'm asked to write a lotusscript agent which would send encrypted email to Lotus Notes E-mail users sending them their usernames and passwords. I know how to write an agent to send email but dont know how to encrypt them. Also how will the users decrypt their emails once they get it.

Any info would be helpful,

Thanks,

Ki.

Subject: Sending emails via lotusscript

Use NotesDocument.EncryptOnSend = True before sending. This uses PKI (public key infrastructure) encryption, encrypting the document with your (or, rather, the agent signer’s) private key and the recipient’s public key. The recipient decrypts with her private key and your public key.