1 write to _transport
System.Net.Mail (1)
System\Net\Mail\SmtpClient.cs (1)
94
_transport
= new SmtpTransport(this);
20 references to _transport
System.Net.Mail (20)
System\Net\Mail\SmtpClient.cs (20)
89
[MemberNotNull(nameof(
_transport
))]
96
if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this,
_transport
);
180
_transport
.InvalidateCachedConnection();
206
_transport
.InvalidateCachedConnection();
233
return
_transport
.Credentials;
249
_transport
.Credentials = _useDefaultCredentials ? CredentialCache.DefaultNetworkCredentials : _customCredentials;
332
return
_transport
.EnableSsl;
341
_transport
.EnableSsl = value;
361
get =>
_transport
.SslOptions;
371
_transport
.SslOptions = value;
384
return
_transport
.ClientCertificates;
403
_transport
.InvalidateCachedConnection();
412
return
_transport
.ServerSupportsEai;
588
(writer, failedRecipientExceptions) = await
_transport
.SendMailAsync<TIOAdapter>(message.Sender ?? message.From, recipients,
804
if (!
_transport
.IsConnected)
806
_transport
.GetConnection(_host!, _port);
812
if (
_transport
.IsConnected)
817
return
_transport
.GetConnectionAsync<TIOAdapter>(_host!, _port, cancellationToken);
820
private void Abort() =>
_transport
.Abort();
840
_transport
?.ReleaseConnection();