Creating custom headers in emails
You can include custom x-headers in your archived emails by defining them in the emailProperty object. For example, you can create a Country property field and include potential values for your company’s offices, e.g. USA, Canada, Japan.
Once you add the x-header for the property, you can search on the x-header and its associated values in the Archive.
To create an x-header for a custom property, in the emailProperty object, include the following:
- name: Enter a name for the custom property, e.g. country.
- value: Enter the value for the property, e.g. USA.
- xheader: To search on the custom property name and value as an x-header in the Archive, set the value to
true. The name and value will appear in the email’s full header as a custom x-header. The name of the x-header will be prefixed with X-GR-OC in the archived EML. - hidden: If the custom property is an x-header, set the value to
true. Otherwise, the name and value of the custom property will display in the message content.