summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
authorCJ Buchmann <cj.buchmann@sendgrid.com>2012-01-12 19:24:30 -0800
committerCJ Buchmann <cj.buchmann@sendgrid.com>2012-01-12 19:24:30 -0800
commit13ea4240f2e863704320ae7c0dc62a6f59d592f0 (patch)
tree93774191f19422b6e61e4c16916f3f0c4ea1a7ce /SendGrid/Example/Program.cs
parent48068853163d337f34cd1f971361d6caf97bd7a7 (diff)
downloadsendgrid-csharp-13ea4240f2e863704320ae7c0dc62a6f59d592f0.zip
sendgrid-csharp-13ea4240f2e863704320ae7c0dc62a6f59d592f0.tar.gz
sendgrid-csharp-13ea4240f2e863704320ae7c0dc62a6f59d592f0.tar.bz2
Got All parts of the REST api working, except file attachments.
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rwxr-xr-xSendGrid/Example/Program.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index 4d16952..472d5b7 100755
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -18,8 +18,7 @@ namespace Example
var from = "cj.buchmann@sendgrid.com";
var to = new List<String>
{
- "cj.buchmann@sendgrid.com",
- "tyler.bischel@sendgrid.com"
+ "cj.buchmann@sendgrid.com"
};
var bcc = new List<string>
@@ -34,7 +33,7 @@ namespace Example
//initialize the SMTPAPI example class
var smtpapi = new SMTPAPI(username, password, from, to);
- var restpapi = new RESTAPI(username, password, from, to, null, cc);
+ var restpapi = new RESTAPI(username, password, from, to, null, null);
//send a simple HTML encoded email.
//smtpapi.SimpleHTMLEmail();