1 instantiation of SmtpConnection
System.Net.Mail (1)
System\Net\Mail\SmtpTransport.cs (1)
92_connection = new SmtpConnection(this, _client, _credentials, _authenticationModules);
24 references to SmtpConnection
System.Net.Mail (24)
System\Net\Mail\SmtpCommands.cs (23)
18internal static async Task<LineInfo> SendAsync<TIOAdapter>(SmtpConnection conn, CancellationToken cancellationToken = default) 28internal static async Task<LineInfo[]> SendAsync<TIOAdapter>(SmtpConnection conn, CancellationToken cancellationToken = default) 38internal static async Task<LineInfo> SendAsync<TIOAdapter>(SmtpConnection conn, string type, string message, CancellationToken cancellationToken = default) 46internal static async Task<LineInfo> SendAsync<TIOAdapter>(SmtpConnection conn, string? message, CancellationToken cancellationToken = default) 64private static void PrepareCommand(SmtpConnection conn, string type, string message) 73private static void PrepareCommand(SmtpConnection conn, string? message) 82internal static async Task SendAsync<TIOAdapter>(SmtpConnection conn, CancellationToken cancellationToken = default) 112private static void PrepareCommand(SmtpConnection conn) 125internal static async Task SendAsync<TIOAdapter>(SmtpConnection conn, CancellationToken cancellationToken = default) 157private static void PrepareCommand(SmtpConnection conn) 170internal static async Task<string[]> SendAsync<TIOAdapter>(SmtpConnection conn, string domain, CancellationToken cancellationToken = default) 201private static void PrepareCommand(SmtpConnection conn, string domain) 216internal static async Task SendAsync<TIOAdapter>(SmtpConnection conn, string domain, CancellationToken cancellationToken = default) 244private static void PrepareCommand(SmtpConnection conn, string domain) 259internal static async Task SendAsync<TIOAdapter>(SmtpConnection conn, CancellationToken cancellationToken = default) 289private static void PrepareCommand(SmtpConnection conn) 303internal static Task SendAsync<TIOAdapter>(SmtpConnection conn, ReadOnlySpan<byte> command, MailAddress from, bool allowUnicode, CancellationToken cancellationToken = default) 309static async Task<LineInfo> SendAndCheck(SmtpConnection conn, CancellationToken cancellationToken) 340private static void PrepareCommand(SmtpConnection conn, ReadOnlySpan<byte> command, MailAddress from, bool allowUnicode) 359internal static async Task<(bool success, string response)> SendAsync<TIOAdapter>(SmtpConnection conn, string to, CancellationToken cancellationToken = default) 397private static void PrepareCommand(SmtpConnection conn, string to) 412internal static async Task SendAsync<TIOAdapter>(SmtpConnection conn, CancellationToken cancellationToken = default) 420private static void PrepareCommand(SmtpConnection conn)
System\Net\Mail\SmtpTransport.cs (1)
19private SmtpConnection? _connection;