summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail
diff options
context:
space:
mode:
authorparoos <pa.roos@icloud.com>2014-05-10 15:17:52 +0200
committerparoos <pa.roos@icloud.com>2014-05-10 15:17:52 +0200
commit47a7cc0bc1b4f5564b9768e32c71f9263da5e74b (patch)
tree1b622f4444b9e0cbe8f5c778d266c1f4c54c70de /SendGrid/SendGridMail
parenta78d09d53a5dcfcd620d9e2ec5665389ebeb017e (diff)
downloadsendgrid-csharp-47a7cc0bc1b4f5564b9768e32c71f9263da5e74b.zip
sendgrid-csharp-47a7cc0bc1b4f5564b9768e32c71f9263da5e74b.tar.gz
sendgrid-csharp-47a7cc0bc1b4f5564b9768e32c71f9263da5e74b.tar.bz2
GetInstance Method removed
Diffstat (limited to 'SendGrid/SendGridMail')
-rw-r--r--SendGrid/SendGridMail/SendGrid.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/SendGrid/SendGridMail/SendGrid.cs b/SendGrid/SendGridMail/SendGrid.cs
index 9708c82..06ce5cc 100644
--- a/SendGrid/SendGridMail/SendGrid.cs
+++ b/SendGrid/SendGridMail/SendGrid.cs
@@ -54,24 +54,6 @@ namespace SendGridMail
Html = html;
}
- /// <summary>
- /// Creates an instance of SendGrid's custom message object with mail parameters
- /// </summary>
- /// <param name="from">The email address of the sender</param>
- /// <param name="to">An array of the recipients</param>
- /// <param name="cc">Supported over SMTP, with future plans for support in the Web transport</param>
- /// <param name="bcc">Blind recipients</param>
- /// <param name="subject">The subject of the message</param>
- /// <param name="html">the html content for the message</param>
- /// <param name="text">the plain text part of the message</param>
- /// <returns></returns>
- public static SendGrid GetInstance(MailAddress from, MailAddress[] to, MailAddress[] cc, MailAddress[] bcc,
- String subject, String html, String text)
- {
- var header = new Header();
- return new SendGrid(from, to, cc, bcc, subject, html, text, header);
- }
-
private static Dictionary<string, string> InitializeFilters()
{
return