Skip to content

Using SmtpServer as a SMTP Filter for SPAM #216

@alijundi

Description

@alijundi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions