IP*Works! OpenPGP V9 - Online Help
IP*Works! OpenPGP V9
Questions / Feedback?

Header Event

Fired every time a header is parsed.

Syntax

mime.on('Header', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.partIndex
e.field
e.value (buffer)

Remarks

The PartIndex parameter contains the index of the part containing the current header. If the header is from the MIME body, this value will be -1. The Field parameter contains the name of the MIME header. The Value parameter contains the header contents. The Header event is fired when a header is parsed, which occurs for each header of the Message when DecodeFromFile, DecodeFromString, or DecodeFromStream is called.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0