summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example
diff options
context:
space:
mode:
authorBrandon West <brawest@gmail.com>2013-01-12 09:57:41 -0700
committerBrandon West <brawest@gmail.com>2013-01-12 09:57:41 -0700
commit72059e914b5f91059491e317d6d55fa963798ad6 (patch)
tree94538a236e177694443b5b67dec0662bdd9d9ae3 /SendGrid/Example
parent1bc5b9662f1791ff9e78ed88e20d45928c5c4ddf (diff)
downloadsendgrid-csharp-72059e914b5f91059491e317d6d55fa963798ad6.zip
sendgrid-csharp-72059e914b5f91059491e317d6d55fa963798ad6.tar.gz
sendgrid-csharp-72059e914b5f91059491e317d6d55fa963798ad6.tar.bz2
refactored Web API to use RestSharp instead of codescales, unstabled
Diffstat (limited to 'SendGrid/Example')
-rwxr-xr-xSendGrid/Example/Program.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index 1debf2e..41bbf76 100755
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -15,21 +15,21 @@ namespace Example
// this code is used for the SMTPAPI examples
static void Main(string[] args)
{
- var username = "sgrid_username";
- var password = "sgrid_password";
- var from = "bar@domain.com";
+ var username = "brandonmwest";
+ var password = "bray!8282";
+ var from = "brawest@gmail.com";
var to = new List<String>
{
- "foo@domain.com",
- "raz@domain.com"
+ "brawest@gmail.com"
};
//initialize the SMTPAPI example class
- var smtpapi = new SMTPAPI(username, password, from, to);
+ //var smtpapi = new SMTPAPI(username, password, from, to);
var restapi = new WEBAPI(username, password, from, to);
//use this section to test out our Web and SMTP examples!
- smtpapi.SimpleHTMLEmail();
+ //smtpapi.SimpleHTMLEmail();
+ restapi.SimpleHTMLEmail();
Console.WriteLine("Done!");
Console.ReadLine();