Skip to content

How to close connection in OnCommandExecuting event? #269

@alexey-us

Description

@alexey-us

Hello!

I'm try to close connection if PTR is invalid. I'm checked examples and my PTR checking is in OnCommandExecuting event. But I want to response to client about this error. If I throw SmtpResponseException - its not working and SmtpServer is stop answer for clients.

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