summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/IHeader.cs
diff options
context:
space:
mode:
authorBrandon West <brawest@gmail.com>2012-07-13 15:01:50 -0600
committerBrandon West <brawest@gmail.com>2012-07-13 15:01:50 -0600
commitc76114aee3506b0640b9b567a846c701d78f0b5d (patch)
treeb79846a435f509fbd8708c2e89a5510c2fbc75f5 /SendGrid/SendGridMail/IHeader.cs
parent2a9fcb7557b8054ae6550898a9f796f40ec59c75 (diff)
downloadsendgrid-csharp-c76114aee3506b0640b9b567a846c701d78f0b5d.zip
sendgrid-csharp-c76114aee3506b0640b9b567a846c701d78f0b5d.tar.gz
sendgrid-csharp-c76114aee3506b0640b9b567a846c701d78f0b5d.tar.bz2
add passing test for setting and getting X-SMTPAPI "to" array
Diffstat (limited to 'SendGrid/SendGridMail/IHeader.cs')
-rwxr-xr-xSendGrid/SendGridMail/IHeader.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/SendGrid/SendGridMail/IHeader.cs b/SendGrid/SendGridMail/IHeader.cs
index b5b9c3f..3ec7911 100755
--- a/SendGrid/SendGridMail/IHeader.cs
+++ b/SendGrid/SendGridMail/IHeader.cs
@@ -11,6 +11,11 @@ namespace SendGridMail
/// </summary>
public interface IHeader
{
+ /// <summary>
+ /// Gets the array of recipient addresses from the X-SMTPAPI header
+ /// </summary>
+ IEnumerable<string> To { get; }
+
/// <summary>
/// This adds a substitution value to be used during the mail merge. Substitutions
/// will happen in order added, so calls to this should match calls to addTo in the mail message.