Starts sending EHLO/HELO command to SMTP server.

C# | Visual Basic | Visual C++ | F# |
public bool EhloHeloAsync( SMTP_Client..::..EhloHeloAsyncOP op )
Public Function EhloHeloAsync ( op As SMTP_Client..::..EhloHeloAsyncOP ) As Boolean
public: bool EhloHeloAsync( SMTP_Client..::..EhloHeloAsyncOP^ op )
member EhloHeloAsync : op : SMTP_Client..::..EhloHeloAsyncOP -> bool

- op (SMTP_Client..::..EhloHeloAsyncOP)
- Asynchronous operation.

Boolean
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.

NOTE: EHLO command will reset all SMTP session state data.

Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
InvalidOperationException | Is raised when SMTP client is not connected. |
ArgumentNullException | Is raised when op is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119