diff options
author | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-04-25 15:51:54 -0700 |
---|---|---|
committer | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-04-25 15:51:54 -0700 |
commit | cc1953ef91a3b34f7ae338a8a1d976cf93583b57 (patch) | |
tree | 104e1e1c7bb033a3a9a5112c4bc7b74c3ab348d4 /SendGrid/Example/Program.cs | |
parent | cf275fca7c7c78364bf5031d0ab7dc01afdd51c4 (diff) | |
download | sendgrid-csharp-cc1953ef91a3b34f7ae338a8a1d976cf93583b57.zip sendgrid-csharp-cc1953ef91a3b34f7ae338a8a1d976cf93583b57.tar.gz sendgrid-csharp-cc1953ef91a3b34f7ae338a8a1d976cf93583b57.tar.bz2 |
added support for attachments by streams, and made the REST call truncate to onl the file name, not the full path
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rwxr-xr-x | SendGrid/Example/Program.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs index edec5c9..1debf2e 100755 --- a/SendGrid/Example/Program.cs +++ b/SendGrid/Example/Program.cs @@ -1,5 +1,6 @@ using System;
using System.Collections.Generic;
+using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mail;
@@ -33,5 +34,6 @@ namespace Example Console.WriteLine("Done!");
Console.ReadLine();
}
+
}
}
|