Wiktor, I'm not sure, should I add
$Param{Header} .= "Date: ".strftime("%a, %e %b %Y %H:%M:%S %z",localtime(time))."\n";
to the Kernel/System/Email/SMTP.pm?
Thanks,
-M
----- Forwarded message from Mihai Maties <[EMAIL PROTECTED]> -----
Date: Tue, 21 Oct 2003 15:30:56 +0300
Subject: Re: [otrs] Missing 'Date: ' header
On Tuesday 21 October 2003 14:31, Wiktor Wodecki wrote:
> hmm, you're right, it's not in cvs try this:
>
> $Param{Header} .= "X-Powered-By: OTRS - Open Ticket Request System
> (http://otrs.org/)\n"; $Param{Header} .= "Message-ID:
> <".time().".".rand(999999)."[EMAIL PROTECTED]>{FQDN}>\n"; }
> $Param{Header} .= "Date: ".strftime("%a,%e %b %Y %H:%M:%S %z",
> localtime(time))."\n";
>
> in Email/Sendmail.pm
>
> if you use something different, patch SMTP, should be similar
Thank you, I did patch SMTP.pm and the Date header is now present.
It seems that my problem was that I didn't add the line in the proper place.
Anyway your line has a small bug: after "%a," before "%e" there should be a
blank space.
Mihai
_______________________________________________
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 oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/
----- End forwarded message -----
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev