DotNetOpenMail 0.5.7 (beta)

SmtpServer Constructor (String, Int32)

Create a new SMTP server at this hostname and port.

[Visual Basic]
Public Sub New( _ 
   ByVal hostname As String, _ 
   ByVal port As Integer _ 
)
[C#]
public SmtpServer(
   string hostname,
   int port
);
[C++]
public: SmtpServer(
   String* hostname,
   int port
);
[JScript]
public function SmtpServer(
   String hostname,
   int port
);

Parameters

hostname
The address or hostname of the smtp server
port
The port of the smtp server.

See Also

SmtpServer Class | DotNetOpenMail Namespace | SmtpServer Constructor Overload List