summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
authorEric Becking <eric.becking@sendgrid.com>2012-01-12 10:33:37 -0700
committerEric Becking <eric.becking@sendgrid.com>2012-01-12 10:33:37 -0700
commit68f58e77326f4fd3e2347014790f6298ab8d76ae (patch)
tree8fa4353ebcf723ed0b5e96d3b539367ea4a42543 /SendGrid/Example/Program.cs
parent46e54865e6fc8ba011b61e0ed2b4bb46ac443633 (diff)
parent1afacb12a55178bf4637aa59b4e9fe53ba2d8663 (diff)
downloadsendgrid-csharp-68f58e77326f4fd3e2347014790f6298ab8d76ae.zip
sendgrid-csharp-68f58e77326f4fd3e2347014790f6298ab8d76ae.tar.gz
sendgrid-csharp-68f58e77326f4fd3e2347014790f6298ab8d76ae.tar.bz2
Merge branch 'us1882' of github.com:sendgrid/sendgrid-csharp into us1882
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rwxr-xr-xSendGrid/Example/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index 09eaf50..b14474c 100755
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -13,9 +13,9 @@ namespace Example
{
static void Main(string[] args)
{
- var credentials = new NetworkCredential("cjbuchmann", "Gadget_15");
- var transport = SMTP.GenerateInstance(credentials);
var header = new Header();
+ var transport = SMTP.GenerateInstance(new NetworkCredential("sgrid_username", "sgrid_password"));
+
var message = new SendGrid(header);
message.AddTo("eric.becking@sendgrid.com");
message.From = new MailAddress("eric@sendgrid.com");