diff options
author | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-01-16 23:06:25 -0800 |
---|---|---|
committer | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-01-16 23:06:25 -0800 |
commit | 32bae16f1cdfd3ef1a2768b9a9a425aacdcbe186 (patch) | |
tree | 2c99849d5068709e5d2b05dfd5e6bd4c6d13ebaa /SendGrid/SendGridMail/ISendGrid.cs | |
parent | 9f24ab50b3e2658128d98bd006e1a65b305179a2 (diff) | |
parent | f5fd9054b23d5f8c4c915da36ad2eaa59f302918 (diff) | |
download | sendgrid-csharp-32bae16f1cdfd3ef1a2768b9a9a425aacdcbe186.zip sendgrid-csharp-32bae16f1cdfd3ef1a2768b9a9a425aacdcbe186.tar.gz sendgrid-csharp-32bae16f1cdfd3ef1a2768b9a9a425aacdcbe186.tar.bz2 |
merged and added some new tests
Diffstat (limited to 'SendGrid/SendGridMail/ISendGrid.cs')
-rwxr-xr-x | SendGrid/SendGridMail/ISendGrid.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/SendGrid/SendGridMail/ISendGrid.cs b/SendGrid/SendGridMail/ISendGrid.cs index 3be707f..08d109c 100755 --- a/SendGrid/SendGridMail/ISendGrid.cs +++ b/SendGrid/SendGridMail/ISendGrid.cs @@ -1,11 +1,7 @@ using System;
using System.Collections.Generic;
-using System.IO;
-using System.Linq;
using System.Net;
using System.Net.Mail;
-using System.Net.Mime;
-using System.Text;
namespace SendGridMail
{
@@ -219,10 +215,13 @@ namespace SendGridMail /// </summary>
/// <param name="text">String for the plain text email body showing what you want the message to look like.</param>
/// <param name="html">String for the HTML email body showing what you want the message to look like.</param>
+ void EnableUnsubscribe(String text, String html);
+
+ /// <summary>
+ /// Allow's SendGrid to manage unsubscribes and ensure these users don't get future emails from the sender
+ /// </summary>
/// <param name="replace">Tag in the message body to be replaced with the unsubscribe link and message</param>
- /// <param name="url">URL for a landing page, if you have your own prepared</param>
- /// <param name="landing">HTML body of a landing page created by SendGrid for you</param>
- void EnableUnsubscribe(String text, String html, String replace, String url, String landing);
+ void EnableUnsubscribe(String replace);
/// <summary>
/// Attaches a message at the footer of the email
|