EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Removing MIME headers

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 06/06/2007 13:06:55
by Ram Cohen (Standard support level)
Joined: 06/28/2006
Posts: 26

I'm using TElMessage.ParseMessage to parse a MIME message and I'm trying to delete one of the message's headers using Message.get_HeaderFields("x-header").Clear()
However, when I do a AssembleMessage the output message contains instead of the original header a line with a ';' in it.
Posted: 06/06/2007 14:11:09
by Eugene Mayevski (EldoS Corp.)

Clearing a field doesn't remove it.


Message.MainPart.Header.DeleteField("x-header", 0);

Sincerely yours
Eugene Mayevski



Topic viewed 1289 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!