diff options
author | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 16:20:58 -0800 |
---|---|---|
committer | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 16:20:58 -0800 |
commit | 0bb4eb03b1f478df60c1f14da63d42aba8281efe (patch) | |
tree | 187261ef4aed777a08be8388685d9cd5214c92dd /SendGrid/SendGridMail/SendGrid.cs | |
parent | 39d5fb81bec319810565a8b7cf0cbd2e9e985c66 (diff) | |
download | sendgrid-csharp-0bb4eb03b1f478df60c1f14da63d42aba8281efe.zip sendgrid-csharp-0bb4eb03b1f478df60c1f14da63d42aba8281efe.tar.gz sendgrid-csharp-0bb4eb03b1f478df60c1f14da63d42aba8281efe.tar.bz2 |
committing before tyler breaks my stuff, with his not good enough stuff
Diffstat (limited to 'SendGrid/SendGridMail/SendGrid.cs')
-rwxr-xr-x | SendGrid/SendGridMail/SendGrid.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SendGrid/SendGridMail/SendGrid.cs b/SendGrid/SendGridMail/SendGrid.cs index 0804099..7237895 100755 --- a/SendGrid/SendGridMail/SendGrid.cs +++ b/SendGrid/SendGridMail/SendGrid.cs @@ -389,12 +389,15 @@ namespace SendGridMail Header.Enable(this._filters["OpenTracking"]);
}
- public void EnableClickTracking(string text = null)
+ public void EnableClickTracking(String enableText = null)
{
var filter = this._filters["ClickTracking"];
Header.Enable(filter);
- Header.AddFilterSetting(filter, new List<string>(){ "text" }, text);
+ if (enableText != null)
+ {
+ Header.AddFilterSetting(filter, new List<string>() { "enable" }, enableText);
+ }
}
public void EnableSpamCheck(int score = 5, string url = null)
|