ItemAddMimeXField()

Adds a MIME X-field onto an item. This allows third-parties to store data onto any item in a key/value pair.

Token ID

AFTKN_ITEM_ADD_MIME_XFIELD or 930

Syntax

VOID ItemAddMimeXField(
     ANSISTRING MessageID;
     ANSISTRING XFieldName;
     ANSISTRING XFieldValue)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

XFieldName As ANSISTRING

The name of the X-FIELD to set. For instance, “X-MYADDIN-SOMEVALUE”.

XFieldValue As ANSISTRING

The value of the X-FIELD to set. This can be any string value that is meaningful to your application.