summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/IHeader.cs
diff options
context:
space:
mode:
authorBobMcLaren <bobmclaren@fssi-ca.com>2013-07-16 12:57:50 -0400
committerBobMcLaren <bobmclaren@fssi-ca.com>2013-07-16 12:57:50 -0400
commit8004a6e3cc4b58757d09572ad3a5b41b7443b6d0 (patch)
treedee8b1c653bd7110faa80bee57241c792aeca9f7 /SendGrid/SendGridMail/IHeader.cs
parentfb4a2c2f3e20ba87dd22919ebec758a56fb01aaf (diff)
downloadsendgrid-csharp-8004a6e3cc4b58757d09572ad3a5b41b7443b6d0.zip
sendgrid-csharp-8004a6e3cc4b58757d09572ad3a5b41b7443b6d0.tar.gz
sendgrid-csharp-8004a6e3cc4b58757d09572ad3a5b41b7443b6d0.tar.bz2
Added SetCategories() method to support multiple categories. SetCategory() left to maintain backward compatibility.
Diffstat (limited to 'SendGrid/SendGridMail/IHeader.cs')
-rwxr-xr-xSendGrid/SendGridMail/IHeader.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/SendGrid/SendGridMail/IHeader.cs b/SendGrid/SendGridMail/IHeader.cs
index 3ec7911..cb1cc12 100755
--- a/SendGrid/SendGridMail/IHeader.cs
+++ b/SendGrid/SendGridMail/IHeader.cs
@@ -46,6 +46,13 @@ namespace SendGridMail
void SetCategory(String category);
/// <summary>
+ /// This sets the categories for this email. Statistics are stored on a per category
+ /// basis, so this can be useful for tracking on a per group basis.
+ /// </summary>
+ /// <param name="categories">categories applied to the message</param>
+ void SetCategories(IEnumerable<string> categories);
+
+ /// <summary>
/// Shortcut method for enabling a filter.
/// </summary>
/// <param name="filter">The name of the filter to enable</param>