SmtpServer Constructor (String, String, String)
Initializes a new instance of the SmtpServer class with the given host name or IP address string, enables ESMTP authentication and assigns the top priority to this instance.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public SmtpServer(
	string name,
	string accountName,
	string password
)

Parameters

name
Type: SystemString
The host name or IP address of the SMTP relay server.
accountName
Type: SystemString
The user account name on the server.
password
Type: SystemString
The user account password on the server.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionname is a null reference (Nothing in Visual Basic).
Remarks
This constructor automatically sets AuthMethods property value to Auto.
See Also