SmtpServer Constructor (String, Int32, Int32) |
Initializes a new instance of the
SmtpServer class with
the given host name (or IP address string) and port number,
and assigns the specified priority to this instance.
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public SmtpServer(
string name,
int port,
int priority
)
Public Sub New (
name As String,
port As Integer,
priority As Integer
)
Parameters
- name
- Type: SystemString
The host name or IP address of the SMTP relay server. - port
- Type: SystemInt32
The port on which to communicate with the SMTP relay server. The standard SMTP port is 25. - priority
- Type: SystemInt32
A preference of the SMTP relay server. Lower values are preferred.
Exceptions Remarks See Also