MHonArc Resources: DATEFIELDS

MHonArc Resource List | TOC

# DATEFIELDS

## Syntax

Envariable

  `M2H_DATEFIELDS=`field1`:`field2`:`...`:`fieldN

Element

  `<DATEFIELDS>`
  field1`:`field2`:`...`:`fieldN
  `</DATEFIELDS>`

Command-line Option

  `-datefields` field1`:`field2`:`...`:`fieldN

## Description

DATEFIELDS specify the message header fields MHonArc will search to determine the dates of messages. Each field will be checked in the ordered specified.

The value of the DATEFIELDS is a colon separated list of message header fields to check.

## Default Setting

    received:date

## Resource Variables

N/A

## Examples

By default. MHonArc looks at the `Received` fields of a message to determine a message's date. This tends to be more accurate as it tells when the message was actually received. However, you may want to have the date based upon the time the sender composed the message. The `Date` field usually reflects the composition date. Therefore, the following setting can be used:

    <DateFields>
    date:received
    </DateFields>

## Version

2.1.1

## See Also