diff options
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rwxr-xr-x | SendGrid/Example/Program.cs | 14 |
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();
|