LumiSoft Net Help
EhloHelo Method (hostName)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientEhloHelo(String)
Sends EHLO/HELO command to SMTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
public void EhloHelo(
	string hostName
)
Public Sub EhloHelo ( 
	hostName As String
)
public:
void EhloHelo(
	String^ hostName
)
member EhloHelo : 
        hostName : string -> unit 
Parameters
hostName (String)
Local host DNS name.
Remarks
NOTE: EHLO command will reset all SMTP session state data.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when SMTP client is not connected.
ArgumentNullExceptionIs raised when hostName is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.
SMTP_ClientExceptionIs raised when SMTP server returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119