Re: spam detection, domain blacklist and email bl (General questions)
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:
- spam detection, domain blacklist and email blackl - tarun, 2008-09-16, 05:46
- Re: spam detection, domain blacklist and email bl - woddrazen, 2008-09-16, 09:45