Added x-header.

This commit is contained in:
Martin Edenhofer 2012-08-06 08:29:54 +02:00
parent 1d36426108
commit c1076e3856

View file

@ -18,6 +18,9 @@ class Channel::EmailBuild
attr['Auto-Submitted'] = 'auto-generated' attr['Auto-Submitted'] = 'auto-generated'
end end
attr['X-Powered-BY'] = 'OTRS - Open Ticket Request System (http://otrs.org/)'
attr['X-Mailer'] = 'OTRS Mail Service (3.0.12)'
# set headers # set headers
attr.each do |key, v| attr.each do |key, v|
if key.to_s != 'attachments' && key.to_s != 'body' if key.to_s != 'attachments' && key.to_s != 'body'