> MimeMess.pas unit: > function TMessHeader.DecodeHeader(value: string): boolean; > code: if Pos('CONTENT-TYPE:', s) = 1 then > Exit; > the above result is that content-type is not placed inside the > message.header and is also not added into customheaders so i cant later > .FindHeader for it. for now i commented it out so it is placed in > cutsomheaders but is there a reason the above code was placed there?
Because content of this header is parsed to many properties. And when you build message, then this header is generated from properties when you are building message. -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public