summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example
diff options
context:
space:
mode:
authorCJ Buchmann <cj.buchmann@sendgrid.com>2012-01-13 10:22:46 -0800
committerCJ Buchmann <cj.buchmann@sendgrid.com>2012-01-13 10:22:46 -0800
commit0f287079a08cee7f760a9025b833ae80ae35b88e (patch)
treea72e2f7e43293547cf2c454e70fa71132bf7dd6b /SendGrid/Example
parent936101e040074244fe6be9d5a48832a657405424 (diff)
downloadsendgrid-csharp-0f287079a08cee7f760a9025b833ae80ae35b88e.zip
sendgrid-csharp-0f287079a08cee7f760a9025b833ae80ae35b88e.tar.gz
sendgrid-csharp-0f287079a08cee7f760a9025b833ae80ae35b88e.tar.bz2
Attempting to attach files via REST
Diffstat (limited to 'SendGrid/Example')
-rwxr-xr-xSendGrid/Example/RESTAPI.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/SendGrid/Example/RESTAPI.cs b/SendGrid/Example/RESTAPI.cs
index a80c536..28e9787 100755
--- a/SendGrid/Example/RESTAPI.cs
+++ b/SendGrid/Example/RESTAPI.cs
@@ -81,6 +81,8 @@ namespace Example
//set the message subject
message.Subject = "Hello World Simple Test";
+ message.AddAttachment(@"D:\att_proj\21.jpg");
+
//Utils.PrepareAttachments();
//create an instance of the SMTP transport mechanism