IPWorks OpenPGP 2020 Node.js Edition

Questions / Feedback?

PITrail Event

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

Syntax

psmtp.on('PITrail', [callback])

Callback

The 'callback' is called when the 'PITrail' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.direction
e.message

Remarks

The PITrail event is useful for debugging 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 (Info)The Message is an informative message originating from the client software (the class code).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Node.js Edition - Version 20.0 [Build 8249]