summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
authorparoos <pa.roos@icloud.com>2014-05-09 17:49:47 +0200
committerparoos <pa.roos@icloud.com>2014-05-09 17:49:47 +0200
commit3806e9f9c7dd393dc8c7e13447b0f29a733a136f (patch)
tree1683bc62f96404f0a2e59747d56ad24cfc2438f8 /SendGrid/Example/Program.cs
parentddbdf03600227f4570af96a98ffd67d33d8b9743 (diff)
downloadsendgrid-csharp-3806e9f9c7dd393dc8c7e13447b0f29a733a136f.zip
sendgrid-csharp-3806e9f9c7dd393dc8c7e13447b0f29a733a136f.tar.gz
sendgrid-csharp-3806e9f9c7dd393dc8c7e13447b0f29a733a136f.tar.bz2
Usable with an IoC Container
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rw-r--r--SendGrid/Example/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index 7fb0960..2b99395 100644
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -11,7 +11,7 @@ namespace Example
private static void Main()
{
// Create the email object first, then add the properties.
- var myMessage = SendGrid.GetInstance();
+ var myMessage = new SendGrid();
myMessage.AddTo("anna@example.com");
myMessage.From = new MailAddress("john@example.com", "John Smith");
myMessage.Subject = "Testing the SendGrid Library";