![]() |
Ping Wizard |
![]() |
Example Applies To
This event is fired whenever an error occurs.
Syntax
Visual Basic
Private Sub object_ OnError(sErrorDescription As String, lErrorCode As Long)
Visual C++
void object_OnError(BSTR sErrorDescription, long lErrorCode)
| Part | Description |
| object | An instance of SMTP Wizard |
| lErrorCode | The Error Number for the error that occurred |
| sErrorDescription | The Error Description in a human readable format for the error that occurred. |
Remarks
This is a good way to easily log errors as they occur.