Domain Detective

API Reference

Class

CmdletTestMessageHeader

Namespace DomainDetective.PowerShell
Assembly DomainDetective.PowerShell
Implements
IDisposable
Modifiers sealed
Attributes
Cmdlet("Get", "DDEmailMessageHeaderInfo") Alias(["Get-EmailHeaderInfo"])

Parses raw email message headers.

Inheritance

Examples

Analyze headers from a file.


Get-Content './headers.txt' -Raw | Get-DDEmailMessageHeaderInfo -ExpectedMx 'mx1.gateway.example.net'
        

Constructors

Methods

BeginProcessingAsync() #

Initializes logging and helper classes.

Returns

A Task representing the asynchronous operation.

EndProcessingAsync() #

Writes a single export for all piped message header results.

Returns

A task that represents the asynchronous operation.

ProcessRecordAsync() #

Executes the cmdlet operation.

Returns

A Task representing the asynchronous operation.

Properties

public String[] ExpectedMx { get; set; } #
Parameter

Expected public MX hosts that should appear in the received path.

Fields

public String HeaderText #
Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true) ValidateNotNullOrEmpty

Raw header text.

{{ include "footer" }}