Skip to content

No Timeout after DATA #226

@tinohager

Description

@tinohager

When the session reaches the DATA part it can stay open forever there is no timeout that would close the session here. This allows the connection to remain open forever. I think it would make sense to be able to define an overall timeout for a session.

I think if we create a LinkedTokenSource in the SmtpSession with a timeout we could easily solve the problem.

async Task ExecuteAsync(SmtpSessionContext context, CancellationToken cancellationToken)

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