Lukas
I've just tracked down a decode problem (in some spam naturally) to
DecodeRfcDateTime in synautil called from TMimeMess.DecodeMessage. The problem
was caused by the spammers including
Date: Mon, 31 Sep 2007 14:09:19 +0100
In the headers. I don't about the rest of the world but in the UK we make do
with only 30 days in September <g>
The actual problem line is no 678: Result := Result + Encodedate(year, month,
day);
I'm not sure wether it would be best to allow DecodeRfcDateTime to raise the
error (which is technically correct), pick the nearest correct date, return the
current date or what.
One thing I will guarantee - I won't be able to persuade the spammers to use a
valid date <g>
Roy Lambert
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public