diff options
author | BobMcLaren <bobmclaren@fssi-ca.com> | 2013-07-16 12:57:50 -0400 |
---|---|---|
committer | BobMcLaren <bobmclaren@fssi-ca.com> | 2013-07-16 12:57:50 -0400 |
commit | 8004a6e3cc4b58757d09572ad3a5b41b7443b6d0 (patch) | |
tree | dee8b1c653bd7110faa80bee57241c792aeca9f7 /SendGrid/SendGridMail/SendGrid.cs | |
parent | fb4a2c2f3e20ba87dd22919ebec758a56fb01aaf (diff) | |
download | sendgrid-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/SendGrid.cs')
-rwxr-xr-x | SendGrid/SendGridMail/SendGrid.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SendGrid/SendGridMail/SendGrid.cs b/SendGrid/SendGridMail/SendGrid.cs index 0ee7079..f7901c1 100755 --- a/SendGrid/SendGridMail/SendGrid.cs +++ b/SendGrid/SendGridMail/SendGrid.cs @@ -305,6 +305,11 @@ namespace SendGridMail {
Header.SetCategory(category);
}
+
+ public void SetCategories(IEnumerable<string> categories)
+ {
+ Header.SetCategories(categories);
+ }
public void AddAttachment(Stream stream, String name)
{
|