summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-06-15 13:30:31 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-06-15 13:30:31 -0700
commite9dfa87619976abcd9cb21c8bef4280af0ff820b (patch)
tree4f33ae874de6a287bba67a2624ee4e13d5815308
parent1e2111f09142552d7dde4e18f116835dec91ed86 (diff)
downloadsendgrid-csharp-e9dfa87619976abcd9cb21c8bef4280af0ff820b.zip
sendgrid-csharp-e9dfa87619976abcd9cb21c8bef4280af0ff820b.tar.gz
sendgrid-csharp-e9dfa87619976abcd9cb21c8bef4280af0ff820b.tar.bz2
Version Bump v7.0.1: Fix hard coded subject in mail helper
-rw-r--r--CHANGELOG.md5
-rw-r--r--SendGrid/Example/Properties/AssemblyInfo.cs4
-rw-r--r--SendGrid/SendGrid/Helpers/Mail/Mail.cs2
-rw-r--r--SendGrid/SendGrid/Properties/AssemblyInfo.cs4
-rw-r--r--SendGrid/UnitTest/Properties/AssemblyInfo.cs6
5 files changed, 13 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1795ae..915fd60 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.
+## [7.0.1] - 2016-06-15
+### Fixed
+- Hard-coded subject in mail helper: https://github.com/sendgrid/sendgrid-csharp/issues/234
+- Thanks [digime99](https://github.com/digime99)!
+
## [7.0.0] - 2016-06-13
### Added
- Breaking change to support the v3 Web API
diff --git a/SendGrid/Example/Properties/AssemblyInfo.cs b/SendGrid/Example/Properties/AssemblyInfo.cs
index 8c0cc2a..767194e 100644
--- a/SendGrid/Example/Properties/AssemblyInfo.cs
+++ b/SendGrid/Example/Properties/AssemblyInfo.cs
@@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("7.0.0")]
-[assembly: AssemblyFileVersion("7.0.0")] \ No newline at end of file
+[assembly: AssemblyVersion("7.0.1")]
+[assembly: AssemblyFileVersion("7.0.1")] \ No newline at end of file
diff --git a/SendGrid/SendGrid/Helpers/Mail/Mail.cs b/SendGrid/SendGrid/Helpers/Mail/Mail.cs
index 52dbb9a..b134734 100644
--- a/SendGrid/SendGrid/Helpers/Mail/Mail.cs
+++ b/SendGrid/SendGrid/Helpers/Mail/Mail.cs
@@ -38,7 +38,7 @@ namespace SendGrid.Helpers.Mail
Personalization personalization = new Personalization();
personalization.AddTo(to);
this.AddPersonalization(personalization);
- this.Subject = "Hello World from the SendGrid CSharp Library";
+ this.Subject = subject;
this.AddContent(content);
}
diff --git a/SendGrid/SendGrid/Properties/AssemblyInfo.cs b/SendGrid/SendGrid/Properties/AssemblyInfo.cs
index 0c09d3f..69fab6e 100644
--- a/SendGrid/SendGrid/Properties/AssemblyInfo.cs
+++ b/SendGrid/SendGrid/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("7.0.0")]
-[assembly: AssemblyFileVersion("7.0.0")]
+[assembly: AssemblyVersion("7.0.1")]
+[assembly: AssemblyFileVersion("7.0.1")]
diff --git a/SendGrid/UnitTest/Properties/AssemblyInfo.cs b/SendGrid/UnitTest/Properties/AssemblyInfo.cs
index ba41e5e..595c614 100644
--- a/SendGrid/UnitTest/Properties/AssemblyInfo.cs
+++ b/SendGrid/UnitTest/Properties/AssemblyInfo.cs
@@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("UnitTest")]
-[assembly: AssemblyCopyright("Copyright © 2015")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("7.0.0.0")]
-[assembly: AssemblyFileVersion("7.0.0.0")]
+[assembly: AssemblyVersion("7.0.1")]
+[assembly: AssemblyFileVersion("7.0.1")]