spam detection, domain blacklist and email blackl - WeOnlyDo Discussion board

spam detection, domain blacklist and email blackl (wodSmtpServer / wodPop3Server / wodImapServer)

by tarun, Tuesday, September 16, 2008, 05:46 (5867 days ago)

Thanks for reply,

Actually, i want to know step for implementing(spam detection, domain blacklist and email blacklist) using wodSmtpServer.

If i get email which has word which is in list of spam than what i have to do with this mail,so our mailclient like (Outlook) recognize mail as spam.

Thanks & regards
Tarun

Re: spam detection, domain blacklist and email bl

by woddrazen, Tuesday, September 16, 2008, 09:45 (5866 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