summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xSendGrid/SendGridMail/Header.cs5
-rwxr-xr-xSendGrid/SendGridMail/IHeader.cs4
2 files changed, 4 insertions, 5 deletions
diff --git a/SendGrid/SendGridMail/Header.cs b/SendGrid/SendGridMail/Header.cs
index 127b05a..6b92a07 100755
--- a/SendGrid/SendGridMail/Header.cs
+++ b/SendGrid/SendGridMail/Header.cs
@@ -21,10 +21,9 @@ namespace SendGridMail
_settings.AddArray(keys, substitutions);
}
-
- public void AddTo(IEnumerable<string> recipients)
+ public void AddTo(IEnumerable<string> addresses)
{
- _settings.AddArray(new List<string> { "to" }, recipients);
+ _settings.AddArray(new List<string> { "to" }, addresses);
}
public void AddUniqueIdentifier(IDictionary<string, string> identifiers)
diff --git a/SendGrid/SendGridMail/IHeader.cs b/SendGrid/SendGridMail/IHeader.cs
index 4045385..b5b9c3f 100755
--- a/SendGrid/SendGridMail/IHeader.cs
+++ b/SendGrid/SendGridMail/IHeader.cs
@@ -23,8 +23,8 @@ namespace SendGridMail
/// 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>
- /// <param name="recipients">List of email addresses</param>
- void AddTo(IEnumerable<string> recipients);
+ /// <param name="addresses">List of email addresses</param>
+ void AddTo(IEnumerable<string> addresses);
/// <summary>
/// This adds parameters and values that will be bassed back through SendGrid's