DeliveryStatusParser Constructor (String, Boolean) |
Namespace: MailBee.BounceMail
Exception | Condition |
---|---|
MailBeeInvalidArgumentException | databaseLocations is a null reference (Nothing in Visual Basic) or an empty string. |
MailBeeIOException | Could not load the database file(s). |
MailBee is shipped with a set of database files located in BounceDatabase folder of MailBee.NET Objects installation. "all.xml" file is the root file of this database and therefore should be specified as databaseLocations value. Thus, the typical databaseLocations path is somewhat like C:\Program Files\MailBee.NET Objects\BounceDatabase\all.xml.
It's also possible to create user-defined databases and use multiple databases. databaseLocations format is the same as Microsoft Windows environment PATH variable. (i.e. "Path1;Path2;...;PathN"). You can change the order of processing templates from different databases by changing the order in which databases are listed in databaseLocations value.
Note |
---|
If you're using the default bounce templates database in your application which will be redistributed, you should include all the contents of BounceDatabase folder with your application. Redistributing all.xml file is not enough as it contains references to other files and sub-folders in BounceDatabase folder. |