From Xojo Documentation

Revision as of 13:38, 18 July 2019 by Gperlman (talk | contribs)

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

Supported for all project types and targets.

The four-character Macintosh Type code.


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"