Dobrý deň, pri exporte fa alebo aj napr. záväzkov mi program neustále vypistuje hlášku, po ktorej sa program ukončí:  (odkedy som si stiahla poslednú verziu), ďakujem.

Došlo k nepredvídateľnej chybe!

Attempt by security transparent method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMail(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.IMapiMessage, Int32, Int32)’ to call native code through method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMailW(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.MapiMessageW, Int32, Int32)’ failed.  Methods must be security critical or security safe-critical to call native code.

System.MethodAccessException: Attempt by security transparent method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMail(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.IMapiMessage, Int32, Int32)’ to call native code through method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMailW(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.MapiMessageW, Int32, Int32)’ failed.  Methods must be security critical or security safe-critical to call native code.
at DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMail(IntPtr session, IntPtr handle, IMapiMessage msg, Int32 flags, Int32 reserved)
at DevExpress.XtraPrinting.Native.MAPI.SendInternal(IntPtr handle, String]] files, String mailSubject, String mailBody, RecipientCollection recipients)
at DevExpress.XtraPrinting.Native.MAPI.SendMail(IntPtr handle, String]] files, String mailSubject, String mailBody, RecipientCollection recipients)
at DevExpress.XtraPrinting.Export.EmailSenderBase.SendViaMAPI(String]] files, EmailOptions options, IntPtr windowHandle)
at DevExpress.XtraPrinting.Export.EmailSender.SendEmail(String]] files, EmailOptions options, IntPtr windowHandle)

, pridaná odpoveď 18. januára 2021