summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/IHeader.cs
diff options
context:
space:
mode:
authorBrandon West <brawest@gmail.com>2013-10-24 14:48:22 -0600
committerBrandon West <brawest@gmail.com>2013-10-24 14:48:22 -0600
commit247ac666c843bff26b6b20d1da9485cca8896a4a (patch)
treecec4e9ee2d5cbd79cc24a38c9c92d57f88602c45 /SendGrid/SendGridMail/IHeader.cs
parenteeb88eff432ba4e9e4c9c8cc1e9cf303ad472587 (diff)
downloadsendgrid-csharp-247ac666c843bff26b6b20d1da9485cca8896a4a.zip
sendgrid-csharp-247ac666c843bff26b6b20d1da9485cca8896a4a.tar.gz
sendgrid-csharp-247ac666c843bff26b6b20d1da9485cca8896a4a.tar.bz2
add AddSection call and tests
Diffstat (limited to 'SendGrid/SendGridMail/IHeader.cs')
-rw-r--r--[-rwxr-xr-x]SendGrid/SendGridMail/IHeader.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/SendGrid/SendGridMail/IHeader.cs b/SendGrid/SendGridMail/IHeader.cs
index cb1cc12..610de72 100755..100644
--- a/SendGrid/SendGridMail/IHeader.cs
+++ b/SendGrid/SendGridMail/IHeader.cs
@@ -25,6 +25,13 @@ namespace SendGridMail
void AddSubVal(String tag, IEnumerable<String> substitutions);
/// <summary>
+ /// Adds a substitution section to be used during the mail merge.
+ /// </summary>
+ /// <param name="tag">string to be replaced with the section in the message</param>
+ /// <param name="text">The text of the section. May include substituion tags.</param>
+ void AddSection(String tag, String text);
+
+ /// <summary>
/// This adds the "to" array to the X-SMTPAPI header so that multiple recipients
/// may be addressed in a single email. (but they each get their own email, instead of a single email with multiple TO: addressees)
/// </summary>