Please add the method Refresh() to the DistributionList object which reloads the DistributionList from database.
We update the distribution list directly in the database from our ERP, but it turns out that hMailServer keeps the list in memory, so if we remove members they keep receiving list-mails until hMailServer is restarted.
Refreshing the list seems a better solution then a forced restart.
Edit: just thought that a checkbox on the General tab of a distribution list "always reload from database before sending" (or something like that) would work fine for me as well.
DistributionList object addition
Re: DistributionList object addition
http://www.hmailserver.com/documentatio ... ails_cache
If an object that is changed directly in the database also exists in the cache, hMailServer will use the object in the cache until it expires.
If an object that is changed directly in the database also exists in the cache, hMailServer will use the object in the cache until it expires.
Re: DistributionList object addition
D'oh!
Please disregard request, disabling cache will suit my needs.
Please disregard request, disabling cache will suit my needs.