diff options
author | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 10:22:46 -0800 |
---|---|---|
committer | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 10:22:46 -0800 |
commit | 4f0b8b80306b3eab0d4250a6fb48cb2e57715395 (patch) | |
tree | 3724d56a64a43633716583c8b3478298ba22d0c0 /SendGrid/Example/RESTAPI.cs | |
parent | 13ea4240f2e863704320ae7c0dc62a6f59d592f0 (diff) | |
download | sendgrid-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-x | SendGrid/Example/RESTAPI.cs | 2 |
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
|