summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/IHeader.cs
diff options
context:
space:
mode:
authorbrandonmwest <brawest@gmail.com>2012-07-13 15:11:29 -0700
committerbrandonmwest <brawest@gmail.com>2012-07-13 15:11:29 -0700
commit1e3816f93799c66c59ad89e01ee42c858ffda0a9 (patch)
treec6c45dcce65a962a262f3818e012762347c231b1 /SendGrid/SendGridMail/IHeader.cs
parent2a9fcb7557b8054ae6550898a9f796f40ec59c75 (diff)
parentcbfe73a74a42120d3c061633c45e1c99f1921ae2 (diff)
downloadsendgrid-csharp-1e3816f93799c66c59ad89e01ee42c858ffda0a9.zip
sendgrid-csharp-1e3816f93799c66c59ad89e01ee42c858ffda0a9.tar.gz
sendgrid-csharp-1e3816f93799c66c59ad89e01ee42c858ffda0a9.tar.bz2
Merge pull request #7 from brandonmwest/master
Merge streaming-attachments branch, add test for X-SMTPAPI header "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.