summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/SendGrid.cs
diff options
context:
space:
mode:
authorTyler Bischel <tyler.bischel@sendgrid.com>2012-01-12 12:22:29 -0800
committerTyler Bischel <tyler.bischel@sendgrid.com>2012-01-12 12:22:29 -0800
commit69c2478808d85a30291b97a18aa72f9f5bafc47e (patch)
treee139491df4246400d1a14429896a87fd75c8b48e /SendGrid/SendGridMail/SendGrid.cs
parent40be75615352899a26f1e02d81bc8b93176829df (diff)
downloadsendgrid-csharp-69c2478808d85a30291b97a18aa72f9f5bafc47e.zip
sendgrid-csharp-69c2478808d85a30291b97a18aa72f9f5bafc47e.tar.gz
sendgrid-csharp-69c2478808d85a30291b97a18aa72f9f5bafc47e.tar.bz2
fixed bug in header, refactored some things
Diffstat (limited to 'SendGrid/SendGridMail/SendGrid.cs')
-rwxr-xr-xSendGrid/SendGridMail/SendGrid.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/SendGridMail/SendGrid.cs b/SendGrid/SendGridMail/SendGrid.cs
index 3fe8a70..287c7aa 100755
--- a/SendGrid/SendGridMail/SendGrid.cs
+++ b/SendGrid/SendGridMail/SendGrid.cs
@@ -429,7 +429,7 @@ namespace SendGridMail
String smtpapi = Header.AsJson();
if (!String.IsNullOrEmpty(smtpapi))
- message.Headers.Add("X-SmtpApi", smtpapi);
+ message.Headers.Add("X-Smtpapi", smtpapi);
if(Attachments != null)
{