|Subject:||How to save complete message into string/double headers|
|Posted by:||Sabine Dinis Blochberger (firstname.lastname@example.org)|
|Date:||Wed, 15 Sep 2004|
Using Delphi 7 enterprise with Indy 9 (snapshot from 14th of Sept.
I want to save the whole message for saveguard into a string (which then
goes into a memo field in a database). The following code gives me that,
*but* the header appears twice in a row.
// get raw message
stream := TStringStream.Create('');
stream.Position := 0; // go to start
rawStr := stream.DataString; // get data
NoDecode is false and IsEncoded is true.
Is this a bug/oddity I have to live with, or am I missing anything? Any
hints greatly appreciated.
Dipl. Inform. Sabine Dinis Blochberger (FH)
s.blochberger @ op3racional.de