Thank you Shawn for you support.
I was smiling reading your email because I though I was finding my bug.
I added the row to my email and I started again... but without success.
Is there any setting I am forgetting?
Maybe... a new line in OTRS/Kernel/system/postmaster/newTicket.pm?
or in config.pm?
My OTRS refuses to work.
I am running release 2.2.3.
I am thinking to destroy all and upgrade to the last one release.
Any idea?
Thank you in advance.
Daniele
Shawn Beasley ha scritto:
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:
<?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';
}
?>
[...]
=> 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 :)
------------------------------------------------------------------------
_______________________________________________
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/
_______________________________________________
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/