https://svn.lrde.epita.fr/svn/lrdetools/trunk
Index: ChangeLog
from Nicolas Pouillard <ertai(a)lrde.epita.fr>
Fill X-Mailer in mails.
* vcs/lib/vcs/mail.rb: Update DEFAULT_OPTIONS.
mail.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: vcs/lib/vcs/mail.rb
--- vcs/lib/vcs/mail.rb (revision 248)
+++ vcs/lib/vcs/mail.rb (working copy)
@@ -10,7 +10,8 @@
MAIL = Sendmail::MAIL_FILE
MAILER = Sendmail.new
- DEFAULT_OPTIONS = { :confirm => true, :mime => true }
+ DEFAULT_OPTIONS = { :confirm => true, :mime => true,
+ :header => "X-Mailer: Vcs.mail (#{Vcs.version})" }
#
# Mail.