Says hello to the server.

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

Syntax

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

Parameters

heloType
HeloType
HELO type (EHLO,HELO,Both)
domain
String
May be null, but rejected by some servers.

Return Value

Server's response.

Exceptions

ExceptionCondition
Lesnikowski.Client..::ServerExceptionOn error response

See Also

Smtp Class