Dart Smtp, Pop, Imap Controls
Trace Method
An undimensioned string dynamically expanded to contain trace data or a filename that is used to store all trace data. If not provided or a Null value, then trace data is no longer stored.
Defaults to False. A True value indicates that sent data should be traced.
Defaults to False. A True value indicates that received data should be traced.
Prompt to precede sent data.
Prompt to precede received data.
Description

Start or stop the accumulation of trace or debug data. Once started, this method accumulates data until it is turned off.

This method provides a convenient mechanism for viewing all data being sent and received over the connection and can be used to troubleshoot host interoperability issues and expose protocol communications.

Syntax
Visual Basic
Public Sub Trace( _
   Optional ByRef Result As Variant, _
   Optional ByVal Send As Boolean = False, _
   Optional ByVal Receive As Boolean = False, _
   Optional ByVal SendPrompt As String, _
   Optional ByVal ReceivePrompt As String _
) 
Parameters
Result
An undimensioned string dynamically expanded to contain trace data or a filename that is used to store all trace data. If not provided or a Null value, then trace data is no longer stored.
Send
Defaults to False. A True value indicates that sent data should be traced.
Receive
Defaults to False. A True value indicates that received data should be traced.
SendPrompt
Prompt to precede sent data.
ReceivePrompt
Prompt to precede received data.
Remarks
ReceivePrompt and SendPrompt allow the application to specify what delimiters separate and label data being captured.
See Also

Smtp Object  | Smtp Members


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