diff options
author | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-12 19:24:30 -0800 |
---|---|---|
committer | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-12 19:24:30 -0800 |
commit | 13ea4240f2e863704320ae7c0dc62a6f59d592f0 (patch) | |
tree | 93774191f19422b6e61e4c16916f3f0c4ea1a7ce /SendGrid/Example/Program.cs | |
parent | 48068853163d337f34cd1f971361d6caf97bd7a7 (diff) | |
download | sendgrid-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-x | SendGrid/Example/Program.cs | 5 |
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();
|