2 instantiations of SmtpConnection
System (2)
net\System\Net\mail\SmtpTransport.cs (2)
201connection = new SmtpConnection(this, client, credentials, authenticationModules); 224connection = new SmtpConnection(this, client, credentials, authenticationModules);
45 references to SmtpConnection
System (45)
net\System\Net\mail\SmtpCommands.cs (38)
16internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 61SmtpConnection conn = (SmtpConnection)multiResult.Context; 82SmtpConnection conn = (SmtpConnection)multiResult.Context; 93internal static SmtpStatusCode Send(SmtpConnection conn, out string response) 109internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 148SmtpConnection conn = (SmtpConnection)multiResult.Context; 168SmtpConnection conn = (SmtpConnection)multiResult.Context; 178internal static LineInfo[] Send(SmtpConnection conn) 188internal static IAsyncResult BeginSend(SmtpConnection conn, string type, string message, AsyncCallback callback, object state) 194internal static IAsyncResult BeginSend(SmtpConnection conn, string message, AsyncCallback callback, object state) 214static void PrepareCommand(SmtpConnection conn, string type, string message) 223static void PrepareCommand(SmtpConnection conn, string message) 229internal static LineInfo Send(SmtpConnection conn, string type, string message) 235internal static LineInfo Send(SmtpConnection conn, string message) 245internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 279static void PrepareCommand(SmtpConnection conn) 289internal static void Send(SmtpConnection conn) 340static void PrepareCommand(SmtpConnection conn) 349internal static void Send(SmtpConnection conn) 360internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state) 392static void PrepareCommand(SmtpConnection conn, string domain) 404internal static string[] Send(SmtpConnection conn, string domain) 414internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state) 446static void PrepareCommand(SmtpConnection conn, string domain) 458internal static void Send(SmtpConnection conn, string domain) 469internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 503static void PrepareCommand(SmtpConnection conn) 514internal static void Send(SmtpConnection conn) 525internal static IAsyncResult BeginSend(SmtpConnection conn, byte[] command, MailAddress from, 561static void PrepareCommand(SmtpConnection conn, byte[] command, MailAddress from, bool allowUnicode) 577internal static void Send(SmtpConnection conn, byte[] command, MailAddress from, bool allowUnicode) 589internal static IAsyncResult BeginSend(SmtpConnection conn, string to, AsyncCallback callback, object state) 632static void PrepareCommand(SmtpConnection conn, string to) 645internal static bool Send(SmtpConnection conn, string to, out string response)
net\System\Net\mail\smtpconnection.cs (4)
533internal AuthenticateCallbackContext(SmtpConnection thisPtr, ISmtpAuthenticationModule module, NetworkCredential credential, string spn, ChannelBinding Token) 544internal readonly SmtpConnection thisPtr; 577SmtpConnection connection; 590internal ConnectAndHandshakeAsyncResult(SmtpConnection connection, string host, int port, ContextAwareResult outerResult, AsyncCallback callback, object state) :
net\System\Net\mail\SmtpTransport.cs (3)
66SmtpConnection connection; 361SmtpConnection connection; 374internal SendMailAsyncResult(SmtpConnection connection, MailAddress from, MailAddressCollection toCollection,