diff options
author | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 11:28:20 -0800 |
---|---|---|
committer | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 11:28:20 -0800 |
commit | 6904122e6ea5e9e0932b83871ed48d39e2b09e99 (patch) | |
tree | 8605443e26bc501d8464fac1025ac4d810b9ad50 /SendGrid/Example | |
parent | 4f0b8b80306b3eab0d4250a6fb48cb2e57715395 (diff) | |
download | sendgrid-csharp-6904122e6ea5e9e0932b83871ed48d39e2b09e99.zip sendgrid-csharp-6904122e6ea5e9e0932b83871ed48d39e2b09e99.tar.gz sendgrid-csharp-6904122e6ea5e9e0932b83871ed48d39e2b09e99.tar.bz2 |
Got code to working state to deliver to Microsoft
Diffstat (limited to 'SendGrid/Example')
-rwxr-xr-x | SendGrid/Example/Program.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs index e92bcfe..7beff35 100755 --- a/SendGrid/Example/Program.cs +++ b/SendGrid/Example/Program.cs @@ -21,10 +21,13 @@ namespace Example message.AddTo("cj.buchmann@sendgrid.com");
message.From = new MailAddress("cj.buchmann@sendgrid.com");
message.Html = "<div>hello world</div>";
- message.Subject = "THIS STUPID SUBJECT";
+ message.Subject = "Hello World SUbject";
message.AddAttachment(@"D:\att_proj\21.jpg");
restInstance.Deliver(message);
+
+ Console.WriteLine("Message Sent");
+ Console.WriteLine("DONE!");
}
/*static void Main(string[] args)
|