diff options
author | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-01-16 22:25:03 -0800 |
---|---|---|
committer | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-01-16 22:25:03 -0800 |
commit | 8e762563b055afb30b162c139ca7778320280ab8 (patch) | |
tree | 6ec84cb2bfb922a9f283716e65d55e057d50b737 /SendGrid/SendGridMail/Utils.cs | |
parent | 607d334cf039d63a7e6361077b0cd8646959ce31 (diff) | |
download | sendgrid-csharp-8e762563b055afb30b162c139ca7778320280ab8.zip sendgrid-csharp-8e762563b055afb30b162c139ca7778320280ab8.tar.gz sendgrid-csharp-8e762563b055afb30b162c139ca7778320280ab8.tar.bz2 |
removed redundant code and added some unit tests
Diffstat (limited to 'SendGrid/SendGridMail/Utils.cs')
-rwxr-xr-x | SendGrid/SendGridMail/Utils.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/SendGrid/SendGridMail/Utils.cs b/SendGrid/SendGridMail/Utils.cs index cb6413c..31fe92f 100755 --- a/SendGrid/SendGridMail/Utils.cs +++ b/SendGrid/SendGridMail/Utils.cs @@ -28,25 +28,5 @@ namespace SendGridMail return "{"+String.Join(",",dic.Select(kvp => Serialize(kvp.Key) + ":" + Serialize(kvp.Value)))+"}";
}
- public static Dictionary<String, Stream> PrepareAttachments()
- {
- var attach = new Attachment("D:/att_proj/21.jpg");
- Console.WriteLine("preparing message attachment");
- var sr = new StreamReader(attach.ContentStream);
-
- Console.WriteLine(sr.ReadToEnd());
-
- Console.WriteLine(":D");
- var request = (HttpWebRequest)WebRequest.Create("");
-
-
- //attach.ContentStream.CopyTo(request.GetRequestStream());
-
- Console.WriteLine("attachment: ");
-
- Console.WriteLine("DONE");
-
- return new Dictionary<string, Stream>();
- }
}
}
|