Title: How can I encrypt PDF attachment of an email

Hi
I am using aspnetmail to send email and attach a a PDf file that stored as a blob in our database. I am able to create an attachment using memory stream or blob. But i also want to encrypt this attachment using itextsharp. Is it possible that i use write.setEncryption for this purpose?

Regards
Parastoo


This email and any files transmitted with it are intended for the named recipient only. The information contained in this message may be confidential, legally privileged or commercially sensitive. If you are not the intended recipient you must not reproduce or distribute any part of the email, disclose its contents to any other party, or take any action in reliance on it. If you have received this email in error, please contact the sender immediately by return email and delete this message from your computer.

Reply via email to