Sha256: b62d63c4fe26c56774b75e509ed8935a22bc30b59f1a09086d22eb0813e9dd38
Contents?: true
Size: 1.88 KB
Versions: 1
Compression:
Stored size: 1.88 KB
Contents
# 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] | | **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, from: John Doe <email@domain.com>, reply_to: John Doe <email@domain.com>, subject: Hello!, template_name: Template01, attach_files: null, utm: null ) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ElasticEmail-4.0.1 | docs/EmailContent.md |