summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
authorBrandon West <brawest@gmail.com>2013-10-24 14:00:06 -0600
committerBrandon West <brawest@gmail.com>2013-10-24 14:00:06 -0600
commit679da709062b30634f7c39fbd783b0e9922fec1a (patch)
treee8d4657818e72b552874e9b475453c8816b6076d /SendGrid/Example/Program.cs
parent029659fbdca0f87416272e9b6b9630569685942a (diff)
downloadsendgrid-csharp-679da709062b30634f7c39fbd783b0e9922fec1a.zip
sendgrid-csharp-679da709062b30634f7c39fbd783b0e9922fec1a.tar.gz
sendgrid-csharp-679da709062b30634f7c39fbd783b0e9922fec1a.tar.bz2
update example app to use https and DeliverAsync
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rw-r--r--[-rwxr-xr-x]SendGrid/Example/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index 4c323cf..7ab96d4 100755..100644
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -25,7 +25,7 @@ namespace Example
var transportWeb = Web.GetInstance(credentials);
// Send the email.
- transportWeb.Deliver(myMessage);
+ transportWeb.DeliverAsync(myMessage);
Console.WriteLine("Done!");
Console.ReadLine();