Dears Experts,
i am trying to send an encrypted PDF File using PdfSharp.
so far i managed to send the pdf file to my email. but i want to send it as a secured Pdf file with a password that i insert in my code.
the email is being sent from my x++ code using the SysMailerMessageBuilder and i am using the PdfSharp classes for the security settings.
my problem is once i want to attach my Pdfsharp.pdfdocument into SysMailerMessageBuilder.addAttachement( Pdfsharp.pdfdocument) , the type is not supported since mailer messager supports System.IO.MemoryStream,
Kindly advise what to do in order to send the Attached email as encrypted file.
Regards,