summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example
diff options
context:
space:
mode:
authorBrandon West <brawest@gmail.com>2013-01-14 12:11:52 -0700
committerBrandon West <brawest@gmail.com>2013-01-14 12:11:52 -0700
commit7b02b282e5df1d0dcfd4a910816e4832684eb0d0 (patch)
tree89103449b9fc00ccd408ad810ef47555394d8471 /SendGrid/Example
parent3a948747213aea2adeccacd0c6fa6e66c0437e73 (diff)
downloadsendgrid-csharp-7b02b282e5df1d0dcfd4a910816e4832684eb0d0.zip
sendgrid-csharp-7b02b282e5df1d0dcfd4a910816e4832684eb0d0.tar.gz
sendgrid-csharp-7b02b282e5df1d0dcfd4a910816e4832684eb0d0.tar.bz2
make https configurable
Diffstat (limited to 'SendGrid/Example')
-rwxr-xr-xSendGrid/Example/WEBAPI.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/Example/WEBAPI.cs b/SendGrid/Example/WEBAPI.cs
index d3f8d4a..fd18605 100755
--- a/SendGrid/Example/WEBAPI.cs
+++ b/SendGrid/Example/WEBAPI.cs
@@ -255,7 +255,7 @@ namespace Example
message.Subject = "Hello World Unsubscribe Test";
//create an instance of the Web transport mechanism
- var transportInstance = Web.GetInstance(new NetworkCredential(_username, _password));
+ var transportInstance = Web.GetInstance(new NetworkCredential(_username, _password), true);
//enable spamcheck
//or optionally, you can specify 'replace' instead of the text and html in order to