summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rw-r--r--SendGrid/Example/Program.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index a62d434..113e3f5 100644
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -18,8 +18,9 @@ namespace Example
myMessage.Subject = "Testing the SendGrid Library";
myMessage.Text = "Hello World! %tag%";
- var subs = new List<String> { "私はラーメンが大好き" };
- myMessage.AddSubstitution("%tag%",subs);
+ var subs = new List<String> { "私は%type%ラーメンが大好き" };
+ myMessage.AddSubstitution("%tag%",subs);
+ myMessage.AddSection("%type%", "とんこつ");
SendAsync(myMessage);