Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
<ObsoleteAttribute("This overload of the Connect method has been deprecated and will be removed. Use another variant and specify parameters using Settings object instead.",  _
	True)> _
Public Function Connect ( _
	serverName As String, _
	serverPort As Integer, _
	parameters As TlsParameters, _
	security As SmtpSecurity _
) As String
C#
[ObsoleteAttribute("This overload of the Connect method has been deprecated and will be removed. Use another variant and specify parameters using Settings object instead.", 
	true)]
public string Connect(
	string serverName,
	int serverPort,
	TlsParameters parameters,
	SmtpSecurity security
)

Parameters

serverName
Type: System..::..String
serverPort
Type: System..::..Int32
parameters
Type: Rebex.Net..::..TlsParameters
security
Type: Rebex.Net..::..SmtpSecurity

Version Information

.NET Compact Framework

Obsolete (does not compile) in 3.9, 3.5 and later

See Also