Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: SMIME Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Mok
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 03 July 2006 at 11:28pm | IP Logged Quote Mok

I using try version, how to unwraop a smime message to normal mime.
Back to Top View Mok's Profile Search for other posts by Mok
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 04 July 2006 at 9:39am | IP Logged Quote Alex

The support of certificates and S/MIME messages in MailBee.NET Objects is available in beta only. Please contact us atsupport@afterlogic.com if you interested in this beta version.

Nevertheless, you can use MailBee Objects in conjunction with MailBee SSL/SMIME plugin in
your .NET application. The following sample loads the encrypted message from file, decrypts and saves it as .eml file (in VB.NET syntax):

Code:

Dim oSmime As New SMIMEClass

' Specify MailBee license key
oSmime.LicenseKey = "put your license key here"

' Load the message from file
oSmime.Message.ImportFromFile("C:\temp\msg_encrypted.eml")

' Check if the message is encrypted
If oSmime.Encrypted Then
  ' Decrypt the message
  oSmime.Decrypt()
  
  ' Save decrypted message
  oSmime.Message.SaveMessage("C:\temp\msg.eml")
End If


Best regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide