EmailAttachment.MacType

From Xojo Documentation

Revision as of 13:38, 18 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"