From: amos<am...@em...> - 2008-10-21 17:12:50
|
sorry, not sure i understood. currently i dont have access to this header once i decode the email, not through msg.header property and not through CustomHeaders property and not through msg.header.findheader function. so how can i have access to it? thanks -- On 21/10/2008 19:02:03, Lukas Gebauer - geb...@ml... wrote: >> 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: geb...@ml... >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 syn...@li... >https://lists.sourceforge.net/lists/listinfo/synalist-public |