SmtpServer icon indicating copy to clipboard operation
SmtpServer copied to clipboard

Using SmtpServer as a SMTP Filter for SPAM

Open alijundi opened this issue 10 months ago • 1 comments

Hi @cosullivan

I thank you for this wonderful library,

I want to use it as follows in my company. Email comes in to the SMTP Server using this library and then forwarded to another SMTP server where emails are stored.

It will check the incoming message if it is spam and modify the subject by adding SPAM before it and then it will immediatly forward it to the specified SMTP server.

Can you direct me on how to implement this. I believe it should not be too hard. Don't worry about the SPAM function it will will take the TO/FROM/SUBJECT/BODY of the message to decide whether it is SPAM or not and then return true/false to the calling check function.

alijundi avatar Apr 16 '24 11:04 alijundi