Setting X-Mail headers

English! place to talk about development, programming and coding
Post Reply
Daniel Obee
Moderator
Posts: 644
Joined: 19 Jun 2007, 17:11
Znuny Version: various
Real Name: Daniel Obée
Location: Berlin

Setting X-Mail headers

Post by Daniel Obee »

Hi all,

we're feeding our document management with attachments from OTRS via mail. Now I wanna transmit the ticket's userID via X-Mail Header. To my unpleasant surprise I found out that nowhere in OTRS there's the option to add additional headers to the mail.

Goal is to forward a message to a fixed mail address with a header set like this:

Code: Select all

X-MYH-CUSTOMERID: ${customerID}
I'd be willing to build a module that does the job so what I really need is an idea where to start.

Anybody out there who did similar or has a module that does?

Greets & Thanks,

Daniel
Post Reply