when i am trying to convert a mailmessage into a mapimessage using
MapiMessage mapiMessage =MapiMessage.FromMailMessage(mailMessage);
this code an error occured
error:-System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for ‘#=zkzoukSwhgVXWZX8EkQV8EQjnMl0asRoR5g==’ threw an exception.
Source=Aspose.Email
StackTrace:
at #=zf_NeUr6CAeG3_x1SPseU2ZUkE6KqSvWVGtHYEAtXbY82.#=znXkAbes=(Int32[] #=zCM7Abw4IGaQY, Boolean #=zg0LTY$q0lNe6)
at Aspose.Email.Mapi.MapiMessage…ctor(String #=zzbwKgdQ=, String #=zGImcuTw=, String #=zoQU75UU=, String #=zQtB_8ac=, OutlookMessageFormat #=zXSIFqfY=, Boolean #=zgHv7YrrhKrtY, Int32 #=z9QV9Lwg=)
at Aspose.Email.Mapi.MapiMessage…ctor(String #=zzbwKgdQ=, String #=zGImcuTw=, String #=zoQU75UU=, String #=zQtB_8ac=, OutlookMessageFormat #=zXSIFqfY=, Boolean #=zgHv7YrrhKrtY)
at Aspose.Email.Mapi.MapiMessage…ctor(String from, String to, String subject, String body, OutlookMessageFormat format)
at Aspose.Email.Mapi.MapiMessage.#=zSFNT6nKaG6n5(MailMessage #=zuF3g_iQ=, MapiConversionOptions #=z0wrWUxM=)
at Aspose.Email.Mapi.MapiMessage.FromMailMessage(MailMessage message, MapiConversionOptions options)
at Aspose.Email.Mapi.MapiMessage.FromMailMessage(MailMessage message)
at File_Fender_Zimbra_Export.FormMain.loadMessage(DirectoryInfo dirInfo) in E:\CurrentProjects\GitHub\File-Fender\Zimbra Export\Project\Zimbra Export\File Fender Zimbra Export\FormMain.cs:line 818
at File_Fender_Zimbra_Export.FormMain.treeStructure_AfterSelect(Object sender, TreeViewEventArgs e) in E:\CurrentProjects\GitHub\File-Fender\Zimbra Export\Project\Zimbra Export\File Fender Zimbra Export\FormMain.cs:line 97
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
TypeInitializationException: The type initializer for ‘#=zYeuA3uzmfHO9em1ZIDR_nluCPA6BXfpJIA==’ threw an exception.
Inner Exception 2:
NotSupportedException: No data is available for encoding 860. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
How can i solve this