methodtSmtpSpool.OldestReceivedAt
function OldestReceivedAt: TDateTime;
THE ARRIVAL TIME (UTC) OF THE OLDEST QUEUED MESSAGE THAT HAS ONE, read under the queue's own lock; 0 when no queued message carries an arrival time - which, for a queue this spool filled itself, means an empty queue and nothing else. ITEMS WHOSE ReceivedAt IS 0 ARE IGNORED rather than treated as infinitely old: an envelope recovered from a truncated or hand-written spool file has none, and letting one drag the minimum to 0 would make a full queue read as an empty one. Safe from any thread while the workers run - which Snapshot's items are not.