Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Encrypt Message not working

$
0
0
Hi Support,

I am trying to encrypt a mesasge with following code, but after encryption, the information remains the same. Can you help?

MailMessage msg = newMailMessage("from@gmail.com","to@gmail.com", "My subject", "My body");

X509Certificate2 cert = newX509Certificate2("test.com.cer");

msg.Encrypt(cert);


Mark

Viewing all articles
Browse latest Browse all 1367

Trending Articles