
Hi Daniele,
I am sorry to always ask you about my personal problem... but I am really getting crazy!!! [...] -------------------------------------------------------------------- STEP 2: -------------------------------------------------------------------- I build into OTRS->Admin->[ PostMaster Filter ] the following filter
Filtername: myFilter Match: Header 1:X-OTRS-TicketKey3 Value:Armadio
Set: Header 1:X-OTRS-TicketValue3 Value:aaaaaa Either:
Header 1:X-OTRS-TicketKey3 Value:Armadio Header 1:X-OTRS-TicketValue3 Value:aaaaaa
-------------------------------------------------------------------- STEP 3: -------------------------------------------------------------------- I send to my OTRS, through php, the following email:
or $header = "X-OTRS-TicketKey3:Armadio\r\n"; $header .= "X-OTRS-TicketValue3:aaaaaa";
if (mail ($to, $subject, $body, $header)) { echo 'E-mail inviata con successo.<br />'; echo 'Destinatario: '.$to.'<br />'; echo 'Subject: '.$subject.'<br />'; echo 'X-Header: '.$header.'<br />'; echo 'Contenuto: '.$body; } else { echo 'Non sono riuscito ad inviare il messaggio'; } ?> [...] => http://www.otrs.com/ I think this would be the proper code, but the main fact is your should set both headers in the php. Alternatively, you can choose the first option. I hope you get it up and running :)
-- Shawn Beasley ((otrs)) :: OTRS AG :: Norsk-Data-Straße 1 :: 61352 Bad Homburg Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftssitz: Bad Homburg Amtsgericht Bad Homburg, HRB 10751 Steuernummer: 003/240/97521 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstandsvorsitzender: André Mindermann