1 write to transport
System (1)
net\System\Net\mail\SmtpClient.cs (1)
113
transport
= new SmtpTransport(this);
31 references to transport
System (31)
net\System\Net\mail\SmtpClient.cs (31)
114
if (Logging.On) Logging.Associate(Logging.Web, this,
transport
);
128
transport
.Credentials = MailConfiguration.Smtp.Network.Credential;
129
transport
.EnableSsl = MailConfiguration.Smtp.Network.EnableSsl;
260
return (
transport
.Credentials is SystemNetworkCredential) ? true : false;
267
transport
.Credentials = value ? CredentialCache.DefaultNetworkCredentials : null;
274
return
transport
.Credentials;
281
transport
.Credentials = value;
289
return
transport
.Timeout;
301
transport
.Timeout = value;
355
return
transport
.EnableSsl;
358
transport
.EnableSsl = value;
367
return
transport
.ClientCertificates;
378
return
transport
.ServerSupportsEai;
482
transport
.IdentityRequired = false; // everything completes on the same thread.
512
writer =
transport
.SendMail(message.Sender ?? message.From, recipients,
519
transport
.ReleaseConnection();
578
GlobalLog.Enter("SmtpClient#" + ValidationHelper.HashString(this) + "::SendAsync Transport#" + ValidationHelper.HashString(
transport
));
627
transport
.IdentityRequired = Credentials != null && (Credentials is SystemNetworkCredential || (cache = Credentials as CredentialCache) == null || cache.IsDefaultInCache);
649
transport
.ReleaseConnection();
658
operationCompletedResult = new ContextAwareResult(
transport
.IdentityRequired, true, null, this, _ContextSafeCompleteCallback);
661
GlobalLog.Print("SmtpClient#" + ValidationHelper.HashString(this) + "::SendAsync calling BeginConnect. Transport#" + ValidationHelper.HashString(
transport
));
662
transport
.BeginGetConnection(ServicePoint, operationCompletedResult, ConnectCallback, operationCompletedResult);
835
transport
.ReleaseConnection();
873
writer =
transport
.EndSendMail(result);
906
transport
.EndGetConnection(result);
914
transport
.BeginSendMail(message.Sender ?? message.From, recipients,
946
if (!
transport
.IsConnected) {
947
transport
.GetConnection(ServicePoint);
954
transport
.Abort();
972
if ((
transport
!= null) && (servicePoint != null)) {
973
transport
.CloseIdleConnections(servicePoint);