Specifying or Retrieving the Type of AS2 File to Send (ContentType)

Available in EFT Server 6.1 and later.

The ICIAS2SendActionParams::ContentType property allows you to specify or retrieve the type of AS2 file to send. (Refer to AS2ContentType enumeration for available types.)

HRESULT ContentType([out, retval] AS2ContentType* pVal);

HRESULT ContentType([in] AS2ContentType newVal);

Example (VBScript):

Retrieving:

If AS2SendParams.ContentType = Binary Then

MsgBox "File type: Binary"

End If

Specifying:

AS2SendParams.ContentType = Plaintext