Dart Smtp, Pop, Imap Controls
Alert Event
The human-readable alert message received from the server.
Description
Fires when the server sends an alert message.
Syntax
Visual Basic
Public Event Alert( _
   ByVal Message As String _
)
Parameters
Message
The human-readable alert message received from the server.
Remarks
The message may be immediately displayed to the user. If the control is being used in non-blocking mode, this event will be raised whenever an alert message is received from the server. If the control is being used in blocking mode, this event will ONLY be raised if the control is blocking for a response from the server.
Example
Private Sub Imap1_Alert(ByVal Message As String)
	On Error GoTo OnError ' use intrinsic error handling
	' Display the message to the user.
	MsgBox Message
	Exit Sub
OnError: ' Any error jumps here
	Debug.Print "Error #" + CStr(Err.Number) + ": " + Err.Description
End Sub
See Also

Imap Object  | Imap Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic