Says hello to the server.

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

Syntax

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

Parameters

heloType
Type: Lesnikowski.Client..::..HeloType
Hello type (EHLO, HELO, Try both)
domain
Type: System..::..String
Fully qualified domain name or client's IP address in brackets.

Return Value

Server's response.

Exceptions

ExceptionCondition
Lesnikowski.Client..::..ServerExceptionOn error response

See Also