EmailAttachment.ContentEncoding

From Xojo Documentation

Property (As String )
aEmailAttachment.ContentEncoding = newStringValue
or
StringValue = aEmailAttachment.ContentEncoding

Supported for all project types and targets.

Content encoding of the attachment.

Example

The following example specifies the UTF8 encoding.

Var file As EmailAttachment
file = New EmailAttachment
file.ContentEncoding = "UTF8"