TIdMessage.Headers empty

Giganews Newsgroups
Subject: TIdMessage.Headers empty
Posted by:  Philip von Melle (philip.vonmel…@globetrotter.de)
Date: Thu, 31 Jul 2008

I have created an instance of TIdMessage and set the Subject, From and
Recipient properties as well as the body. But when accessing
AMsg.Headers.Text it is empty. When using AMsg.SaveToFile all headers
appear correctly (as well as the body). What do I need to do to get the
Headers property filled appropriately?

Regards, Philip

Replies