Namespace DRIT.Mail.Rfc.Net.Transport
Classes
TextProtocolException
The base exception type for transport-level errors in a line-oriented text protocol (SMTP, POP3, IMAP). Thrown by DRIT.Mail.Rfc.Net.Transport.TextProtocolTransport when a socket-level read or write fails. Protocol clients catch this and re-throw as their own protocol-specific exception types so callers see a consistent exception hierarchy.
TextProtocolTimeoutException
Thrown by DRIT.Mail.Rfc.Net.Transport.TextProtocolTransport when a read or write operation times out before the server responds. Protocol clients catch this and re-throw as their own timeout exception type.
Interfaces
ITextProtocolTransport
Abstracts a line-oriented text protocol wire (TCP + optional TLS).
All socket I/O in SmtpClient,
Pop3Client, and ImapClient goes through this
interface so that unit tests can inject an in-process transport
without a real socket.