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 filterFiltername: 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: <?php $to = '[EMAIL PROTECTED]'; $subject = 'Let me try'; $body = 'This is the email content';$header = "X-OTRS-TicketKey3:Armadio";
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'; }?>
[...]
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 :)=> http://www.otrs.com/
-- 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/