SmtpProtocolSendEhlo Method Ipswitch.Messaging.Framework
Send an extended hello greeting to the SMTP server using the indicated identity.

Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public SmtpResponse SendEhlo(
	string clientIdentity = null
)

Parameters

clientIdentity (Optional)
Type: SystemString
The local identity to use in the greeting to the server.

Return Value

Type: SmtpResponse
An SmtpResponse that contains the response codes and message (or messages) sent by the server.
Exceptions

ExceptionCondition
ConnectionExceptionThe connection was terminated before sending could be completed.
InvalidOperationExceptionNo connection is available.
ObjectDisposedExceptionThis object has been disposed.
See Also

Reference