Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SendHello()

bool System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.SendHello ( )
inlineprivate

Definition at line 268 of file SmtpConnection.cs.

269 {
270 IAsyncResult asyncResult = HelloCommand.BeginSend(_connection, _connection._client._clientDomain, s_sendHelloCallback, this);
271 if (asyncResult.CompletedSynchronously)
272 {
273 _connection._supportedAuth = SupportedAuth.Login;
274 HelloCommand.EndSend(asyncResult);
275 Authenticate();
276 return true;
277 }
278 return false;
279 }

References System.Net.Mail.SmtpConnection._client, System.Net.Mail.SmtpClient._clientDomain, System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult._connection, System.asyncResult, System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.Authenticate(), System.Net.Mail.HelloCommand.BeginSend(), System.Net.Mail.HelloCommand.EndSend(), and System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.s_sendHelloCallback.

Referenced by System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.Handshake(), System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.HandshakeCallback(), and System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.SendEHelloCallback().