DistributionList object addition

This forum contains features that has been archived. This section contains implemented features, duplicate requests, and requests which we have decided not to implement.
Locked
Willy
New user
New user
Posts: 4
Joined: 2011-07-13 10:12

DistributionList object addition

Post by Willy » 2011-07-13 10:18

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.

mns17
Normal user
Normal user
Posts: 124
Joined: 2008-06-18 11:13

Re: DistributionList object addition

Post by mns17 » 2011-07-13 11:19

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.

Willy
New user
New user
Posts: 4
Joined: 2011-07-13 10:12

Re: DistributionList object addition

Post by Willy » 2011-07-13 11:47

D'oh!

Please disregard request, disabling cache will suit my needs.

Locked