EmailAttachment.MacType

From Xojo Documentation

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

Supported for all project types and targets.

The four-character Macintosh Type code.

Example

This example uses the MacType code used for image/jpeg file types in the File Type Sets editor.

Dim file As EmailAttachment
file = New EmailAttachment
file.ContentEncoding = "UTF8"
file.MIMEType = "image/jpeg"
file.MacCreator = "prvw"
file.MacType = "JPEG"