DotNetOpenMail 0.5.7 (beta)

SmtpServer Constructor (String)

Create a new SMTP server at this hostname and port.

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

Parameters

hostname
The address or hostname of the smtp server

See Also

SmtpServer Class | DotNetOpenMail Namespace | SmtpServer Constructor Overload List