Deployment and redistribution of MailBee.NET Objects with your application
I'm going to distribute my application powered by MailBee.NET Objects. Which files should I include in my package?
- MailBee.NET.dll is the mandatory file.
- If your application uses iCal and vCard functionality from ICalVCard.dll, you'll need to redistribute it as well.
- If you're using MailBee.BounceMail classes, you'll also need to supply bounce definition database which resides in BounceDatabase folder of MailBee.NET Objects installation. This database is a set of XML files. There are other options available: single xdb file or your own storage. See DeliveryStatusParser(byte[])
topic for details.
- If you're using Ews component, add MailBee.NET.EWS.dll, and Exchange Web Services Managed API library (Microsoft.Exchange.WebServices.dll in case of .NET Framework or Microsoft.Exchange.WebServices.NETStandard.dll in case of .NET Core).
- If you're using MailBee.Pdf classes, add MailBee.NET.PDF.dll, ITextSharp.dll and HtmlAgilityPack.dll assemblies.
It's not required to register the .DLLs in GAC or anything like that. Just make sure they reside in the application folder, or in /bin folder in case of a web application. Placing in GAC, however, grants an assembly Full Trust level, which may be the desired behavior if you want to give such permissions to MailBee.NET.dll. For instance, to make use of S/MIME functions, Full Trust is required due to the need to make WinAPI calls. In case when the standard Trust Level of the application domain is lower than Full Trust, adding MailBee.NET.dll to GAC will be among possible solutions.
Send feedback to AfterLogic
Copyright © 2002-2022 AfterLogic Corporation. All rights reserved.