IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

PITrail Event

Traces the commands sent to the mail server, and the respective replies.

Syntax

[VB.NET]
Public Event OnPITrail As OnPITrailHandler
[C#]
public event OnPITrailHandler OnPITrail;

public delegate void OnPITrailHandler(object sender, ImapPITrailEventArgs e);

class ImapPITrailEventArgs : EventArgs {
  int Direction {get;}
  string Message {get;}
}

Remarks

The PITrail event is useful for debugging as well as learning purposes. It shows all the interaction between the client and the server, line by line, except for message header and body transfers.

The Message parameter contains the full text of the message. The Direction parameter shows the originator of the message:

0 (Client)The Message originates from the client.
1 (Server)The Message originates from the server.
2 (Information)The Message is an informative message originating from the client software (the component code).

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]