We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0c0df commit 81551f7Copy full SHA for 81551f7
1 file changed
examples/helpers/mail/example.rb
@@ -54,7 +54,7 @@ def kitchen_sink
54
personalization2.add_custom_arg(CustomArg.new(key: 'user_id', value: '343'))
55
personalization2.add_custom_arg(CustomArg.new(key: 'type', value: 'marketing'))
56
personalization2.send_at = 1443636843
57
- mail.personalizations = personalization2
+ mail.add_personalization(personalization2)
58
59
mail.add_content(Content.new(type: 'text/plain', value: 'some text here'))
60
mail.add_content(Content.new(type: 'text/html', value: '<html><body>some text here</body></html>'))
@@ -65,7 +65,6 @@ def kitchen_sink
65
attachment.filename = 'balance_001.pdf'
66
attachment.disposition = 'attachment'
67
attachment.content_id = 'Balance Sheet'
68
-
69
mail.add_attachment(attachment)
70
71
attachment2 = Attachment.new
0 commit comments