Sends EHLO to the server.

Namespace: Lesnikowski.Client
Assembly:  Mail (in Mail.dll)
Version: 2.7.2897.36617

Syntax

C#
public SmtpResponse Ehlo(
	string domain
)
Visual Basic (Declaration)
Public Function Ehlo ( _
	domain As String _
) As SmtpResponse
Visual C++
public:
SmtpResponse^ Ehlo (
	String^ domain
)

Parameters

domain
String
May be null, but rejected by some servers.

Return Value

Server's response.

See Also

Smtp Class