MailKit.Net.Smtp.SmtpClient.SmtpClient C# (CSharp) Method

SmtpClient() public method

Initializes a new instance of the MailKit.Net.Smtp.SmtpClient class.
Before you can send messages with the SmtpClient, you must first call one of the Connect methods. Depending on whether the SMTP server requires authenticating or not, you may also need to authenticate using one of the Authenticate methods.
public SmtpClient ( ) : System
return System
		public SmtpClient () : this (new NullProtocolLogger ())
		{
			QueryCapabilitiesAfterAuthenticating = true;
		}

Same methods

SmtpClient::SmtpClient ( IProtocolLogger protocolLogger ) : System