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