# ElasticEmail::EmailContent ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **body** | [**Array<BodyPart>**](BodyPart.md) | List of e-mail body parts, with user-provided MIME types (text/html, text/plain etc) | [optional] | | **merge** | **Hash<String, String>** | A key-value collection of custom merge fields, shared between recipients. Should be used in e-mail body like so: {firstname}, {lastname} etc. | [optional] | | **attachments** | [**Array<MessageAttachment>**](MessageAttachment.md) | Attachments provided by sending binary data | [optional] | | **headers** | **Hash<String, String>** | A key-value collection of custom e-mail headers. | [optional] | | **postback** | **String** | Postback header. | [optional] | | **envelope_from** | **String** | E-mail with an optional name to be used as the envelope from address (e.g.: John Doe <email@domain.com>) | [optional] | | **from** | **String** | Your e-mail with an optional name (e.g.: John Doe <email@domain.com>) | [optional] | | **reply_to** | **String** | To what address should the recipients reply to (e.g. John Doe <email@domain.com>) | [optional] | | **subject** | **String** | Default subject of email. | [optional] | | **template_name** | **String** | Name of template. | [optional] | | **attach_files** | **Array<String>** | Names of previously uploaded files that should be sent as downloadable attachments | [optional] | | **utm** | [**Utm**](Utm.md) | Utm marketing data to be attached to every link in this e-mail. | [optional] | ## Example ```ruby require 'ElasticEmail' instance = ElasticEmail::EmailContent.new( body: null, merge: {"city":"New York","age":"34"}, attachments: null, headers: {"city":"New York","age":"34"}, postback: null, envelope_from: John Doe <email@domain.com>, from: John Doe <email@domain.com>, reply_to: John Doe <email@domain.com>, subject: Hello!, template_name: Template01, attach_files: [ "preuploaded.jpg" ], utm: null ) ```