| Name |
Type |
Description |
Notes |
| from |
XFrom |
|
|
| to |
Array<XTo> |
|
|
| reply_to |
XReplyTo |
|
[optional] |
| subject |
String |
|
|
| html_body |
String |
|
|
| text_body |
String |
|
[optional] |
| headers |
Hash<String, String> |
|
[optional] |
| template |
String |
Template identifier |
[optional] |
require 'sendx-ruby-sdk'
instance = SendX::XEmailMessage.new(
from: null,
to: null,
reply_to: null,
subject: Your Subject Here,
html_body: <h1>Your HTML Content</h1>,
text_body: Your Text Content,
headers: {X-Custom-Header=Value},
template: template_f3lJvTEhSjKGVb5Lwc5SWS
)