From c1076e385612b2c35778f7eeb69e2a2eb4243461 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 6 Aug 2012 08:29:54 +0200 Subject: [PATCH] Added x-header. --- app/models/channel/email_build.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb index fb6dff7ea..dee3eeac4 100644 --- a/app/models/channel/email_build.rb +++ b/app/models/channel/email_build.rb @@ -10,14 +10,17 @@ class Channel::EmailBuild if organization then; mail['Organization'] = organization.to_s end - + # notification if notification attr['X-Loop'] = 'yes' attr['Precedence'] = 'bulk' attr['Auto-Submitted'] = 'auto-generated' end - + + attr['X-Powered-BY'] = 'OTRS - Open Ticket Request System (http://otrs.org/)' + attr['X-Mailer'] = 'OTRS Mail Service (3.0.12)' + # set headers attr.each do |key, v| if key.to_s != 'attachments' && key.to_s != 'body'