Aspose.Network for .NET v3.9.0.0 Released

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Network for .NET v3.9.0.0 has released.

In this major release, we supported S/MIME protocol features. Now you can add a digital signature to your email message.

Here is the sample code:

       // load the certificate and associated private key from a file 
       X509Certificate2 certificate = X509Certificate2.LoadPfx(“mycer.pfx”, “password”);

       // create an instance of MailMessage 
       MailMessage message = new MailMessage();

        // set its properties to desired values 
        message.From = “sender@domain.com“;
        message.To = recipient@domain.com;
        message.Subject = “This is a signed message”;
        message.TextBody = “Hello, world!”;
        // attach a digital signature 
        message.AttachSignature(certificate);
        SmtpClient.Send(message);

Download Link:

http://www.aspose.com/community/files/54/utility-components/aspose.network/default.aspx


To keep up with our news, you can follow us on Twitter or follow our Facebook page.