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.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntaxpublic SmtpServer(
string name,
string accountName,
string password
)
Public Sub New (
name As String,
accountName As String,
password As String
)
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
Remarks
See Also