DotNetOpenMail 0.5.7 (beta)

SmtpServer Constructor (IPAddress, Int32)

Create a new SMTP server at this hostname and port.

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

Parameters

ipaddress
The ip address of the SMTP server
port
The port number of SMTP server

See Also

SmtpServer Class | DotNetOpenMail Namespace | SmtpServer Constructor Overload List