Script functions reference > Script functions in alphabetical order > G

G
GetAttachmentContentEncoding
Syntax
GetAttachmentContentEncoding(num_file);
num_file
The index of the attachment. Accepts the index of the attachment starting from 1 up to the number of attachments returned by GetConnectorValue("AttCount") or GetAttachmentCount().
Description
Returns the encoding of an attachment saved to disk via an EmailIN connector.
Returns
str
Example
$encoding = GetAttachmentContentEncoding(1);
OpenText StreamServe 5.6 Updated: 2013-03-01