Re: spam detection, domain blacklist and email bl - WeOnlyDo Discussion board

Re: spam detection, domain blacklist and email bl (General questions)

by woddrazen, Tuesday, September 16, 2008, 09:45 (5758 days ago) @ tarun

Hi Tarun,


Here is example how you can implement SPAM filter in wodSmtpServer.
[code] If InStr(1, User.Message.Body, xyz ) > 0 Then
User.Message.Body = Replace(User.Message.Body, Subject: , Subject: *****SPAM***** )
End If[/code]
You should add that code inside MailReceived Event. When messages is received by wodSmtpServer and if message contain word: xyz. User will receive that message with *****SPAM***** word in Subject of a message.

Can you please try that and let us know how it goes.


Drazen


Complete thread: