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 | 0f287079a08cee7f760a9025b833ae80ae35b88e (patch) | |
tree | a72e2f7e43293547cf2c454e70fa71132bf7dd6b /SendGrid/Example | |
parent | 936101e040074244fe6be9d5a48832a657405424 (diff) | |
download | sendgrid-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-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
|