1
managing the Smartermail blacklist programmatically
Question asked by Ben Conner - 8/2/2015 at 9:42 AM
Unanswered
Hi,
 
I have a separate system for identifying spammers that I wrote; the part I'm unfamiliar with is how to automatically update the Smartermail blacklist once I identify them.  Can anyone point me to sample code or docs on this?
 
Thanks!
 
--Ben

1 Reply

Reply to Thread
0
Employee Replied
Employee Post
Ben,
 
You can use the web service svcServerAdmin API to accomplish this.  The following two functions will return the list of blacklist entries or add/modify a blacklist entry, respectively:  GetBlacklistEntries and SetBlacklistEntry.  If you navigate to http://yourserver/Services it will bring up the API documentation.
 
I hope this helps.

Reply to Thread