diff options
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rwxr-xr-x | SendGrid/Example/Program.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs index a429510..edec5c9 100755 --- a/SendGrid/Example/Program.cs +++ b/SendGrid/Example/Program.cs @@ -16,10 +16,11 @@ namespace Example {
var username = "sgrid_username";
var password = "sgrid_password";
- var from = "cj.buchmann@sendgrid.com";
+ var from = "bar@domain.com";
var to = new List<String>
{
- "foo@bar.com"
+ "foo@domain.com",
+ "raz@domain.com"
};
//initialize the SMTPAPI example class
@@ -27,7 +28,7 @@ namespace Example var restapi = new WEBAPI(username, password, from, to);
//use this section to test out our Web and SMTP examples!
- restapi.EnableTemplateEmail();
+ smtpapi.SimpleHTMLEmail();
Console.WriteLine("Done!");
Console.ReadLine();
|