diff options
author | Brandon West <brawest@gmail.com> | 2013-10-24 14:48:22 -0600 |
---|---|---|
committer | Brandon West <brawest@gmail.com> | 2013-10-24 14:48:22 -0600 |
commit | 247ac666c843bff26b6b20d1da9485cca8896a4a (patch) | |
tree | cec4e9ee2d5cbd79cc24a38c9c92d57f88602c45 /SendGrid/SendGridMail/IHeader.cs | |
parent | eeb88eff432ba4e9e4c9c8cc1e9cf303ad472587 (diff) | |
download | sendgrid-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.cs | 7 |
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>
|