Skip to content

Commit 1ebd0d3

Browse files
committed
minor modifications
1 parent 8c9f715 commit 1ebd0d3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/resources/transmissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var reqObj = {
3636
subject: 'First SDK Mailing',
3737
html: '<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
3838
text: 'Congratulations, {{name}}!! You just sent your very first mailing!'
39-
}
39+
},
4040
substitutionData: {name: 'YOUR FIRST NAME'},
4141
recipients: [{ address: { name: 'YOUR FULL NAME', email: 'YOUR EMAIL ADDRESS' } }]
4242
}

examples/transmissions/stored_recipients_inline_content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var key = 'YOURAPIKEY'
77
var reqObj = {
88
transmissionBody: {
99
recipients: {
10-
listId: 'example-list'
10+
list_id: 'example-list'
1111
},
1212
content: {
1313
from: 'From Envelope <[email protected]>',

examples/transmissions/stored_recipients_stored_content.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ var key = 'YOURAPIKEY'
77
var reqOpts = {
88
transmissionBody: {
99
recipients: {
10-
listId: 'example-list'
10+
list_id: 'example-list'
1111
},
1212
content: {
1313
from: 'From Envelope <[email protected]>',
1414
subject: 'Example Email for Stored List and Template',
15-
templateId: 'my-template'
15+
template_id: 'my-template'
1616
}
1717
}
1818
};

examples/transmissions/stored_template_send.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var reqOpts = {
88
transmissionBody: {
99
recipients: [{ address: { email: '[email protected]' } }],
1010
content: {
11-
templateId: 'my-template',
11+
template_id: 'my-template',
1212
from: 'From Envelope <[email protected]>',
1313
subject: 'Example Email for Stored Template'
1414
}

0 commit comments

Comments
 (0)