Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Commit

Permalink
Add an X-Mailer header to make filtering easier
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrian Jardan authored and Brian Donovan committed Aug 13, 2010
1 parent 57dd7cb commit fae95ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/emailer.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def send
"Reply-To: #{from}", "Reply-To: #{from}",
"To: #{@recipient}", "To: #{@recipient}",
"Subject: #{@subject}", "Subject: #{@subject}",
"X-Mailer: git-commit-notifier",
"X-Git-Refname: #{@ref_name}", "X-Git-Refname: #{@ref_name}",
"X-Git-Oldrev: #{@old_rev}", "X-Git-Oldrev: #{@old_rev}",
"X-Git-Newrev: #{@new_rev}", "X-Git-Newrev: #{@new_rev}",
Expand Down

0 comments on commit fae95ea

Please sign in to comment.