summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/RESTAPI.cs
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
commit4f0b8b80306b3eab0d4250a6fb48cb2e57715395 (patch)
tree3724d56a64a43633716583c8b3478298ba22d0c0 /SendGrid/Example/RESTAPI.cs
parent13ea4240f2e863704320ae7c0dc62a6f59d592f0 (diff)
downloadsendgrid-csharp-4f0b8b80306b3eab0d4250a6fb48cb2e57715395.zip
sendgrid-csharp-4f0b8b80306b3eab0d4250a6fb48cb2e57715395.tar.gz
sendgrid-csharp-4f0b8b80306b3eab0d4250a6fb48cb2e57715395.tar.bz2
Attempting to attach files via REST
Diffstat (limited to 'SendGrid/Example/RESTAPI.cs')
-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