EmailAttachment.MacCreator

From Xojo Documentation

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

Supported for all project types and targets.

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

Example

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"