Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#638 Add default value for SubstitutionTag parameter #700

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SendGrid/Helpers/Mail/SendGridMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ public void SetClickTracking(bool enable, bool enableText)
/// </summary>
/// <param name="enable">Gets or sets a value indicating whether this setting is enabled.</param>
/// <param name="substitutionTag">Allows you to specify a substitution tag that you can insert in the body of your email at a location that you desire. This tag will be replaced by the open tracking pixel.</param>
public void SetOpenTracking(bool enable, string substitutionTag)
public void SetOpenTracking(bool enable, string substitutionTag = null)
{
if (this.TrackingSettings == null)
{
Expand Down