Framework EDI Reference. Methods and Properties
mailHeader. AddIanaValue

Add an IANA value to the header.

Syntax:

Parameters:

Returns:

Returns 1 if successful; otherwise returns 0 if the operation failed.

Remarks:

Some headers recognize predefined values as initially defined in their relevant standards (for example, "inline", "attachment" for the Content-Disposition header).  However, the standards accommodate for additional values that can be added as it continues to have broader application to the business world.  The new values should be registered with IANA for it to be recognized by trading partners.

The IANA value only needs to be added once for any one instance of a mailDocument object.  For example, adding the IANA value to an instance of a "Content-Disposition" header makes the value available to other "Content-Disposition" headers in other messages in the mailDocument object.