Inclusion of IdAllHeadercoders.pas

Giganews Newsgroups
Subject: Inclusion of IdAllHeadercoders.pas
Posted by:  Philip von Melle (philip.vonmel…@globetrotter.de)
Date: Tue, 21 Aug 2007

Shouldn't IdAllHeaderCoders.pas be included into the uses list of IdMessage
somewhere. I was struggling to retrieve the Subject of one message file I
loaded into a TIdMessage instance and always had an empty string for the
subject. Later I discovered that the subject was encoded and that was the
reason. Unencoded subject header lines showed up normally. After including
IdAllHeaderCoders into my uses list all was fine. So, returning an emtpy
subject line is misleading and I think IdAllHeaderCoders should be in the
uses list of IdMessage (and perhaps other units as well?).

Philip

Replies