When a catch rule saves email messages in Project Portal as new documents, Kronomail can save the email message headers in the custom properties of the documents. The custom properties must be assigned to the document types that are used to create the documents with which the messages are stored. The document type is specified as described in Creating a catch rule.
The message headers that can be saved include:
By default, Kronomail is configured to save the headers in custom properties in the KMAIL property set that are listed in the following table.
Property code | Field code | Field name | Field type |
---|---|---|---|
KMAIL |
TO |
To |
Text field |
KMAIL |
CC |
CC |
Text field |
KMAIL |
FROM |
From |
Text field |
KMAIL |
SUBJECT |
Subject |
Text field |
KMAIL |
MSGID |
Message ID |
Text field |
KMAIL |
DATE |
Date |
Text field |
To save message headers to custom properties:
$::kronomailextension = {
'EXT.KMAIL.TO' => { 1 => 'Header.to.name' }, 'EXT.KMAIL.CC' => { 1 => 'Header.cc.name' }, 'EXT.KMAIL.FROM' => { 1 => 'Header.from.name' }, 'EXT.KMAIL.SUBJECT' => { 1 => 'Header.subject' }, 'EXT.KMAIL.MSGID' => { 1 => 'Header.message_id' }, 'EXT.KMAIL.DATE' => { 1 => 'Header.date' }, 'EXT.KMAIL.REPLYTO' => { 1 => 'Header.reply_to' }, };