<div class="meta" robots="noindex">

</div>

Property

# EmailAttachment.MacCreator

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item is deprecated. Please use `Uniform Type Identifiers</topics/file_management/understanding_uniform_type_identifiers>` as a replacement.

</div>

## Description

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

## Sample code

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

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

## Compatibility

All project types on all supported operating systems.
