Occurs when the client is disconnecting the mail server.
[Visual Basic 6.0] Public Sub Object_OnQuit( _ ByVal sender As Object, _ ByRef cancel As Boolean _ )
[Visual C++] public: HRESULT OnQuit( IDispatch* sender, VARIANT_BOOL* cancel );
To get the full samples of EAGetMail, please refer to Samples section.
Retrieve Email with Event Handler in VB6 - Tutorial
Retrieve Email with Event Handler in Delphi - Tutorial
Retrieve Email with Event Handler in VC++- Tutorial