diff options
author | paroos <pa.roos@icloud.com> | 2014-05-09 17:49:47 +0200 |
---|---|---|
committer | paroos <pa.roos@icloud.com> | 2014-05-09 17:49:47 +0200 |
commit | 3806e9f9c7dd393dc8c7e13447b0f29a733a136f (patch) | |
tree | 1683bc62f96404f0a2e59747d56ad24cfc2438f8 /SendGrid/Example/Program.cs | |
parent | ddbdf03600227f4570af96a98ffd67d33d8b9743 (diff) | |
download | sendgrid-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.cs | 2 |
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";
|