From Xojo Documentation

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

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

Supported for all project types and targets.

The four-character Macintosh Creator code of the attached file.


This example uses the Creator 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"